flashy_flushbar
1.4.1, released 12 months ago by an unverified publisher
A customizable, dismissible, and animated flushbar and toast widget for Flutter.
What it does
FlashyFlushbar provides animated toast and snackbar notifications for Flutter applications. It supports entrance and exit transitions, leading and trailing custom widgets, and programmatic control to show or cancel messages.
AI-written summary of version 1.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need customizable snackbars or toasts with animations in your Flutter app.
- You want a flushbar that can be dismissed or cancelled programmatically.
Skip it when
- You need persistent system notifications instead of in-app toasts.
- You are looking for a complete UI component kit rather than single-purpose notifications.
Strengths
- Highly customizable appearance and animations.
- Easy setup with MaterialApp builder.
- Supports cancelling specific or all active flushbars.
Weaknesses
- Requires adding FlashyFlushbarProvider in the app builder for context access.
- Limited to in-app notification overlays.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires initializing FlashyFlushbarProvider.init() in the builder of your MaterialApp.
FlashyFlushbar(
leadingWidget: const Icon(
Icons.error_outline,
color: Colors.black,
size: 24,
),
message: 'Hello from Flashy Flushbar',
duration: const Duration(seconds: 1),
trailingWidget: IconButton(
icon: const Icon(
Icons.close,
color: Colors.black,
size: 24,
),
onPressed: () {
FlashyFlushbar.cancel();
},
),
isDismissible: false,
).show();Alternatives
Packages that do the same job and could replace flashy_flushbar.
- fluttertoast
If you want simple native-looking toasts across platforms without context.
85Compare - another_flushbar
For a more mature alternative flushbar implementation.
74Compare - toastification
If you need modern, highly stylized toast notifications with rich configuration options.
91Compare