Last updated:
0 purchases
flutter spotlight plus
flutter_spotlight #
Spotlight for Flutter that lights items for tutorials etc...
Simple Example #
class _MyHomePageState extends State<MyHomePage> {
Offset _center = Offset(100.0, 100.0); // Center position of Spotlight
double _radius = 50.0; // Radius of Spotlight
@override
Widget build(BuildContext context) {
return Spotlight(
center: _center,
radius: _radius,
child: new Scaffold(
appBar: new AppBar(
title: new Text(widget.title),
actions: <Widget>[
IconButton(
icon: Icon(Icons.search),
onPressed: () {},
),
],
),
body: SafeArea(
child: Container(),
),
floatingActionButton: FloatingActionButton(
child: Icon(Icons.favorite_border),
onPressed: () {},
),
),
);
}
}
copied to clipboard
For details see the example app
Showcase from example app #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.