ndialog
4.5.1, released 4 weeks ago by nizwar.dev
Easily customizable dialogs, progress dialogs, zoomable dialogs, and animated transitions in Flutter.
What it does
Provides customized dialog types (NDialog, NAlertDialog, ZoomDialog) and progress dialogs that can be automatically tied to Futures or displayed using extensions like .show(context). It also supports blurred backgrounds and animated show transitions.
AI-written summary of version 4.5.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to easily show progress dialogs tied to a Future's execution.
- You need blurred or customized backgrounds for dialogs without heavy boilerplate.
- You want animated transition effects when displaying native or custom dialogs.
Skip it when
- Your project requires complex custom routing or state-managed navigation stacks for overlays.
- You prefer pure declarative widget state architectures for managing dialog visibility.
Strengths
- Convenient extensions on Futures to automatically show and dismiss progress dialogs.
- Supports multiple custom dialog types and zoomable dialogs out of the box.
- Easy customization of blur effects and transition animations.
Weaknesses
- Relies heavily on imperative show/dismiss methods rather than strict declarative widget trees.
- Tightly coupled to specific Flutter SDK versions as noted in recent changelogs.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
NAlertDialog(
dialogStyle: DialogStyle(titleDivider: true),
title: Text("NAlertDialog"),
content: Text("This is NAlertDialog's content"),
actions: <Widget>[
TextButton(child: Text("Okay"), onPressed: () => Navigator.pop(context)),
],
).show(context);Alternatives
Packages that do the same job and could replace ndialog.
- sn_progress_dialog
Customizable progress dialog package for Flutter that captures the progress value.
75Compare - awesome_dialog
Show beautiful animated dialogs (info, question, warning, success, error) simply in Flutter.
67Compare - percent_indicator
Circular, linear, and multi-segment percentage progress indicator widgets for Flutter.
67Compare - native_dialog_plus
Shows native alert and confirm dialogs on iOS, Android, Web, and macOS.
63Compare