A lot of the current snackbar & toast libraries are too complicated for simple use cases. Snacky is a simple library that lets you show a snackbar with minimal setup and an easy-to-use API — while still giving you full control when you need it.
Full documentation lives at docs.page/impaktfull/flutter_snacky.
It covers installation, every option, theming with builders, responsive layout, the queue & controller, navigation handling, and the architecture & design decisions behind Snacky.
snacky_preview.mp4
Wrap your app once:
@override Widget build(BuildContext context) { return SnackyConfiguratorWidget( app: MaterialApp( // Optional: close snackies on push/replacement navigatorObservers: [ SnackyNavigationObserver(), ], home: const HomeScreen(), ), ); }
Then show a snacky from anywhere:
SnackyController.instance.showMessage( (context) => const Snacky( title: 'Saved!', subtitle: 'Your changes have been stored.', type: SnackyType.success, ), );
See the Quick Start guide for the full walkthrough, and Showing Snackies for every option.
See LICENSE.