Skip to main content

zentoast 1.0.0 copy "zentoast: ^1.0.0" to clipboard
zentoast: ^1.0.0 copied to clipboard

A headless, fully customizable toast system for Flutter.

1.0.0 #

  • First stable release.
  • Remove direct Material imports from the library and tests. ToastTheme is now standalone and ToastThemeProvider is an inherited widget; use ToastThemeProvider.of(context) instead of ThemeData.extensions. Motor 1.1.0 still imports Material transitively.
  • Make ToastThemeProvider.data non-nullable; omit it or pass ToastTheme.kDefault for defaults.
  • Require Dart 3.13 and Flutter 3.47 to match oref 2.10.0; migrate the example's Material UI to material_ui.
  • Add immutable ToastMotionConfig with enter, exit, reposition and drag-return groups, theme defaults and per-viewer overrides.
  • Add system, full, reduced and no-motion policies; system accessibility changes apply to running animations.
  • Remove dismissed toasts after actual exit completion across matching viewers, replacing fixed cleanup timing; reindex deletion and drag state by toast identity.
  • Preserve full-motion animation visuals and content caching.

0.2.2 #

  • Fix ToastViewer horizontal positioning for Alignment.topCenter and Alignment.bottomCenter: the toast bar is centered within the padded viewport (including when the bar is narrower than the viewport on wide layouts).
  • Add widget tests covering center alignment for wide and narrow surfaces.

0.2.1 #

  • Update oref to ^2.8.0 with correct and best practices of oref. Thanks @medz

0.2.0 #

  • Update oref to ^2.6.0

0.1.3 #

  • Add thresholdFullWidth and width parameters to ToastViewer

0.1.2 #

  • Add demo gif

0.1.1 #

  • Add great banner for zentoast :-)

0.1.0 #

  • Introduce ToastCategory filtering across multiple ToastViewer instances
  • Document category usage with hands-on README examples

0.0.3 #

  • Fix lint

0.0.2 #

  • Provide comprehensive documentation for:
    • Toast
    • ToastProvider
    • ToastTheme
    • ToastThemeProvider
    • ToastViewer

0.0.1 #

  • Initial release of zentoast
  • Provides headless toast primitives: Toast, ToastProvider, ToastViewer
  • Adds theming support via ToastTheme and ToastThemeProvider
  • Ships example app showcasing Sonner-style, Brutalist, and Card toast designs
77
likes
160
points
954
downloads

Documentation

API reference

Publisher

verified publisherzennn.dev

Weekly Downloads

A headless, fully customizable toast system for Flutter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, motor, oref

More

Packages that depend on zentoast