material_dialogs
1.1.5, released 2 years ago by ezaldeensahb.link
Create animated, simple, and stylish Material dialogs and bottom sheets in Flutter.
What it does
Provides ready-to-use dialog classes (`Dialogs.materialDialog` and `Dialogs.bottomMaterialDialog`) that support Lottie animations, custom action buttons, and custom views.
AI-written summary of version 1.1.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need standard Material confirmation or information dialogs with icons and buttons.
- You want to display Lottie animations easily inside your dialogs.
- You need bottom sheet material dialogs.
Skip it when
- You are building a custom design system that does not use Material design guidelines.
- You require complex multi-step dialog wizards.
Strengths
- Easy integration with Lottie animations out of the box.
- Includes pre-styled button widgets like `IconsButton` and `IconsOutlineButton`.
- Supports both standard dialogs and bottom sheet dialogs.
Weaknesses
- Limited to predefined Material dialog structures unless using custom views.
- Lottie animation background colors may require external editing to match the dialog background.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Dialogs.materialDialog(
msg: 'Are you sure ? you can\'t undo this',
title: "Delete",
color: Colors.white,
context: context,
actions: [
IconsOutlineButton(
onPressed: () {},
text: 'Cancel',
iconData: Icons.cancel_outlined,
),
IconsButton(
onPressed: () {},
text: 'Delete',
iconData: Icons.delete,
color: Colors.red,
),
]
);Alternatives
Packages that do the same job and could replace material_dialogs.
- awesome_card
Flutter widget to create animated credit cards with brand detection and flip effects.
74Compare - stylish_bottom_bar
A collection of stylish bottom navigation bars for Flutter with animations and bubble effects.
69Compare - quickalert
Instantly display animated alert dialogs like success, error, warning, and loading.
50Compare - flutter_glow
A Flutter UI kit providing glow‑styled widgets like buttons, icons, text and switches.
50Compare
Works with
Packages commonly used together with material_dialogs: ones it builds on, ones built on it, and its own family.