Skip to content
pubscout

zentoast

1.0.0, released 5 weeks ago by zennn.dev

A headless, fully customizable toast system for Flutter with physics‑based animations.

WASM-ready
$ flutter pub add zentoast
Source repository

What it does

Manages toast queuing, animation, gestures and multi‑position viewers while letting you provide the UI. Offers theming, motion policies and independent stacks.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need custom toast designs beyond simple text‑only toasts
  • You want physics‑based, gesture‑rich notifications with multiple viewers
  • You require theming and motion policy control

Skip it when

  • You only need a quick, out‑of‑the‑box toast like FlutterToast
  • You need push or system notifications rather than in‑app UI
  • You prefer a solution that includes its own widget UI

Strengths

  • Full UI control – headless architecture
  • Physics‑based, configurable animations via Motor
  • Multiple independent viewers and theming support

Weaknesses

  • Requires you to build the toast widget UI
  • Adds extra dependencies (motor, oref)
  • May be overkill for simple toast needs

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
2

Add zentoast to pubspec, wrap app with ToastProvider, no native permissions required

void main(){runApp(ToastProvider.create(child: MyApp()));}

class MyApp extends StatelessWidget{ @override Widget build(BuildContext context){return MaterialApp(builder:(c,child)=>ToastThemeProvider(data:ToastTheme(gap:8,viewerPadding:EdgeInsets.all(12)),child:Stack(children:[Positioned.fill(child:child??SizedBox()),SafeArea(child:ToastViewer(alignment:Alignment.topRight,delay:Duration(seconds:3),visibleCount:3)),])),home:HomePage();}}

Alternatives

Packages that do the same job and could replace zentoast.

Works with

Packages commonly used together with zentoast: ones it builds on, ones built on it, and its own family.