Last updated:
0 purchases
scrumlab snack
Extensions for SnackBars and other goodies 🍭
Usage #
SnackBar().show(context);
copied to clipboard
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),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.