showNUIDialogForResult<T> function

Future<T?> showNUIDialogForResult<T>({
  1. required BuildContext context,
  2. String? barrierLabel,
  3. bool dismissible = true,
  4. Color? barrierColor,
  5. double opacity = 0.8,
  6. required DialogBuilder content,
  7. Alignment alignment = Alignment.center,
  8. PageTransition? transition,
  9. bool useSafeArea = true,
  10. Duration? transitionDuration,
  11. Function? onDismiss,
})

Implementation

Future<T?> 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}) async{
  return NUIDialog.showNUIDialogForResult<T>(context: context, content: content, barrierLabel: barrierLabel, dismissible: dismissible, opacity: opacity, barrierColor: barrierColor, alignment: alignment, transition: transition, useSafeArea: useSafeArea, transitionDuration: transitionDuration, onDismiss: onDismiss);
}