NUIDialogItem constructor

NUIDialogItem({
  1. String? id,
  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

NUIDialogItem ({
  String? id,
  this.barrierLabel,
  this.dismissible = true,
  this.barrierColor,
  this.opacity = 0.8,
  required this.content,
  this.alignment = Alignment.center,
  this.transition,
  this.useSafeArea = true,
  this.transitionDuration,
  this.onDismiss
}){
  this.id = id ?? randomUUID();
}