flutter_sonner 1.0.0
flutter_sonner: ^1.0.0 copied to clipboard
An opinionated stacked action toast and notification HUD for Flutter inspired by Sonner. Spring physics, card depth stacking, and promise toasts.
1.0.0 #
- Initial release of
flutter_sonner. - Card Stacking Depth: Natural card stacking with spring physics, scale reduction (0.95x, 0.90x), and depth offset.
- Interactive In-Toast Actions: Styled
SonnerActionbuttons with instant tap handling. - Promise / Future Toasts: Seamless
Sonner.promise(...)lifecycle transitioning from loading spinner to success or error state in-place. - Toast Types: Full support for
success,error,info,warning,loading, andcustombuilders. - Natural Swipe-to-Dismiss: Velocity-based horizontal fling with smooth fade-out.
- Multi-Position Positioning:
bottomRight,bottomCenter,bottomLeft,topRight,topCenter,topLeft. - Expand on Hover / Long Press: Unfolds stacked cards for easy inspection.
- Rich Theming: Dark obsidian, clean light, glassmorphic, and custom color palettes.