flutter_sonner 1.2.1
flutter_sonner: ^1.2.1 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.2.1 #
- Discovery & Metadata: Added official funding channels and refined search discovery topics.
1.2.0 #
- Showcase Visuals: Added crisp dark-mode vector SVG showcase banner in README documentation.
- Cleaner Distribution: Excluded example platform directories via
.pubignorefor a smaller package archive.
1.1.0 #
- Auto-Dismiss Progress Bar: Real-time animated progress bar along the bottom of active toasts indicating remaining duration before auto-dismissal.
- Left-Accent Variant (
SonnerStyle.leftAccent): High-contrast 4px thick colored vertical indicator bar on the left edge reflecting notification status. - Interactive Tap Callback: Added
onTaplistener to toast cards for routing and navigation. - Cancel Action Support: Added secondary
cancelActionsupport alongside primaryaction.
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.