Modal constructor

Modal({
  1. required Widget child,
  2. required Widget dialog,
  3. bool open = false,
  4. CmdCallback? onDismiss,
  5. bool dismissible = true,
  6. Color? backdropColor,
  7. double backdropOpacity = 0.6,
  8. Key? key,
})

Implementation

Modal({
  required this.child,
  required this.dialog,
  this.open = false,
  this.onDismiss,
  this.dismissible = true,
  this.backdropColor,
  this.backdropOpacity = 0.6,
  super.key,
});