ui/component/nui_dialog_widget library

Functions

showNUIDialog({required BuildContext context, String? barrierLabel, bool dismissible = true, Color? barrierColor, double opacity = 0.8, required DialogBuilder content, Alignment alignment = Alignment.center, PageTransition? transition, bool useSafeArea = true, Duration? transitionDuration, Function? onDismiss}) NUIDialog
showNUIDialogByItem({required BuildContext context, required NUIDialogItem item}) NUIDialog
showNUIDialogForResult<T>({required BuildContext context, String? barrierLabel, bool dismissible = true, Color? barrierColor, double opacity = 0.8, required DialogBuilder content, Alignment alignment = Alignment.center, PageTransition? transition, bool useSafeArea = true, Duration? transitionDuration, Function? onDismiss}) Future<T?>

Typedefs

DialogBuilder = Widget Function(BuildContext context)
DialogDismissCallback = void Function(Function onDismiss)