Skip to main content

flutter_sonner 1.2.1 copy "flutter_sonner: ^1.2.1" to clipboard
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 .pubignore for 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 onTap listener to toast cards for routing and navigation.
  • Cancel Action Support: Added secondary cancelAction support alongside primary action.

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 SonnerAction buttons 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, and custom builders.
  • 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.
2
likes
150
points
1.08k
downloads

Documentation

API reference

Publisher

verified publisherdroidtank.is-a.dev

Weekly Downloads

An opinionated stacked action toast and notification HUD for Flutter inspired by Sonner. Spring physics, card depth stacking, and promise toasts.

Repository (GitHub)
View/report issues

Topics

#toast #notification #sonner #hud #alert

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_sonner