ModalBarrier constructor

const ModalBarrier({
  1. Key? key,
  2. Color? color,
  3. bool dismissible = true,
  4. VoidCallback? onDismiss,
  5. String? semanticsLabel,
  6. bool? barrierSemanticsDismissible = true,
  7. ValueNotifier<EdgeInsets>? clipDetailsNotifier,
  8. String? semanticsOnTapHint,
})

Creates a widget that blocks user interaction.

Implementation

const ModalBarrier({
  super.key,
  this.color,
  this.dismissible = true,
  this.onDismiss,
  this.semanticsLabel,
  this.barrierSemanticsDismissible = true,
  this.clipDetailsNotifier,
  this.semanticsOnTapHint,
});