v2.0.0
snack
An extension library for easier access to commonly used functionality for SnackBars
22Likes 16030-day downloads155Pub points
AndroidiOSWebmacOSWindowsLinux
🍫 A SnackBar extension library
English project snapshot. Visit GitHub for the latest content.
Extensions for SnackBars and other goodies 🍭
SnackBar().show(context);
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),
),
);
}
}
Dependency list 3 items
{"sdk":"flutter"}^1.11.0{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗