delightful_toast
1.1.0, released 3 years ago by swaroopsambhayya.com
A toast and snackbar package for rich interactions like slide to dismiss and stacked animations.
What it does
Provides a customizable toastbar widget that can be triggered imperatively via a context. Features include slide-to-dismiss, auto-dismiss, dismiss-on-demand through action buttons, and stacked animations.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to display rich, interactive toast notifications or snackbars.
- You need features like slide-to-dismiss or stacked toast notifications.
Skip it when
- You require system-level push notifications or local OS notifications.
- You need a state management library.
Strengths
- Includes features like slide to dismiss and auto dismiss.
- Supports stacked toast animations.
- Easy integration with standard Flutter button callbacks.
Weaknesses
- Limited documentation beyond basic usage.
- Relies on imperative trigger calls.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
none
ElevatedButton(
onPressed:(){
DelightToastBar(
builder: (context) => const ToastCard(
leading: Icon(
Icons.flutter_dash,
size: 28,
),
title: Text(
"Hi I'm Dash",
style: TextStyle(
fontWeight: FontWeight.w700,
fontSize: 14,
),
),
),
).show(context);
},
child: const Text("Toast!")
)Alternatives
Packages that do the same job and could replace delightful_toast.
- toastification
Alternative toast and notification package for Flutter.
91Compare - bot_toast
Another feature-rich toast and overlay management library.
50Compare - fluttertoast
Simpler, highly standard toast package for basic notifications.
85Compare
Works with
Packages commonly used together with delightful_toast: ones it builds on, ones built on it, and its own family.