status_alert
3.0.1, released 8 weeks ago by yako.dev
Display Apple system-like self-hiding status alerts without interrupting user flow.
What it does
StatusAlert lets developers display self-hiding system-like status overlays inspired by Apple design guidelines. It supports titles, subtitles, built-in icons, or custom widgets like Rive animations. Only one alert is shown at a time and they automatically dismiss after a configurable duration.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to notify users of non-critical actions (like 'Saved' or 'Subscribed') without blocking interaction.
- You need an overlay notification that mimics Apple's system status style.
Skip it when
- You need complex notification banners that persist until explicitly dismissed by the user.
- You require multiple alerts stacked on top of each other simultaneously.
Strengths
- Clean, Apple-like system alert presentation with built-in blur support.
- Simple imperative API (`StatusAlert.show(...)`) for quick integration.
- Supports custom widget configurations such as Rive animations.
Weaknesses
- Only one alert can be shown at a time; calling `show()` while active does nothing.
- `onComplete` is not called when manually dismissed using `StatusAlert.hide()`.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
StatusAlert.show(
context,
duration: Duration(seconds: 2),
title: 'Subscribed',
subtitle: 'You will be notified of new posts',
configuration: IconConfiguration(icon: Icons.done),
maxWidth: 260,
);Alternatives
Packages that do the same job and could replace status_alert.
- fluttertoast
If you want simple native-style toast messages across platforms.
85Compare - bot_toast
If you need a highly customizable notification and toast system with support for custom overlays.
50Compare - another_flushbar
If you prefer top or bottom slide-in flushbars with action buttons and flexible styling.
74Compare
Works with
Packages commonly used together with status_alert: ones it builds on, ones built on it, and its own family.