toastification
3.2.2, released 4 weeks ago by payamzahedi.com
Flutter toast and notification widget library
WASM-readyRock solid
What it does
Provides a flexible API to show toast notifications with multiple styles and queueing. Supports custom content, animations, and hover interactions.
AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need toast notifications with queueing
- Want multiple predefined styles
- Require context‑free usage via wrapper
Skip it when
- Already using another toast package
- Need push notifications instead of in‑app toasts
Strengths
- Rich style options and customization
- Queue handling prevents overlap
- Context‑free API via ToastificationWrapper
Weaknesses
- No push notification support
- Requires manual import of wrapper for context‑free use
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Add dependency, optionally wrap root widget with ToastificationWrapper
import 'package:toastification/toastification.dart';
ToastificationWrapper(
child: MaterialApp(),
);
toastification.show(
title: Text('Hello, world!'),
autoCloseDuration: const Duration(seconds: 5),
);Alternatives
Packages that do the same job and could replace toastification.
- fluttertoast
Simpler API for basic toasts
85Compare - overlay_support
Provides overlay‑based toasts with less configuration
50Compare
Works with
Packages commonly used together with toastification: ones it builds on, ones built on it, and its own family.
- uuidtoastification depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- equatabletoastification depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- pausable_timertoastification depends on itA Dart timer implementation that can be paused, resumed, and reset.