awesome_dialog
3.3.0, released a year ago by toranzo.dev
Show beautiful animated dialogs (info, question, warning, success, error) simply in Flutter.
What it does
Provides a customizable AwesomeDialog class to display popups with built-in Rive animations, titles, descriptions, custom buttons, and action callbacks. It supports auto-hide, keyboard awareness, and various entrance animations.
AI-written summary of version 3.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display alert, success, warning, error, or info dialogs with animations.
- You want a simple API to handle confirmation dialogs with custom buttons and callbacks.
Skip it when
- You prefer a fully declarative widget-tree approach for dialogs.
- You require complex multi-step dialog flows or custom route-based navigation.
Strengths
- Includes pre-built animated dialog types like info, success, error, warning, and question.
- Highly customizable with support for custom bodies, custom buttons, custom headers, and borders.
- Built-in keyboard awareness and auto-dismiss/auto-hide features.
Weaknesses
- Relies on an imperative show method rather than a declarative widget builder.
- Dependent on the Rive package for animations which might add footprint.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to pubspec.yaml and import awesome_dialog.dart.
AwesomeDialog(
context: context,
dialogType: DialogType.info,
animType: AnimType.rightSlide,
title: 'Dialog Title',
desc: 'Dialog description here.............',
btnCancelOnPress: () {},
btnOkOnPress: () {},
)..show();Alternatives
Packages that do the same job and could replace awesome_dialog.
- aligned_dialog
If you need dialogs positioned relative to a specific target widget rather than centered on the screen.
82Compare
Works with
Packages commonly used together with awesome_dialog: ones it builds on, ones built on it, and its own family.