flutter_spotlight 0.1.1 copy "flutter_spotlight: ^0.1.1" to clipboard
flutter_spotlight: ^0.1.1 copied to clipboard

Spotlight for Flutter that lights items for tutorials etc...

flutter_spotlight #

Spotlight for Flutter that lights items for tutorials etc...

pub package

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: () {},
        ),
      ),
    );
  }
}

For details see the example app

Showcase from example app #

capture

6
likes
40
pub points
12%
popularity

Publisher

unverified uploader

Spotlight for Flutter that lights items for tutorials etc...

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_spotlight