optimize_widget/custom_dialog library

Classes

AlertDialog
A material design alert dialog.
CustomDialog
A material design dialog.
DialogRoute<T>
A dialog route with Material entrance and exit animations, modal barrier color, and modal barrier behavior (dialog is dismissible with a tap on the barrier).
SimpleDialog
A simple material design dialog.
SimpleDialogOption
An option used in a SimpleDialog.

Functions

showDialog<T>({required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor = Colors.black54, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings}) Future<T?>
Displays a Material dialog above the current contents of the app, with Material entrance and exit animations, modal barrier color, and modal barrier behavior (dialog is dismissible with a tap on the barrier).