snack 1.0.5

Flutter Android iOS web

An extension library for easier access to commonly used functionality for SnackBars

snack

snack pub style: pedantic license

Extensions for SnackBars and other goodies 🍭

Usage #

SnackBar().show(context);

Example #

class Example extends StatelessWidget {
  final bar = SnackBar(content: Text('Hello, world!'));
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: RaisedButton(
        child: Text('Show snack'),
        onPressed: () => bar.show(context),
      ),
    );
  }
}
15
likes
110
pub points
84%
popularity

Publisher

molland.sh

An extension library for easier access to commonly used functionality for SnackBars

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, pedantic

More

Packages that depend on snack