AnimatedModalBarrier constructor

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

Creates a widget that blocks user interaction.

Implementation

const AnimatedModalBarrier({
  super.key,
  required Animation<Color?> color,
  this.dismissible = true,
  this.semanticsLabel,
  this.barrierSemanticsDismissible,
  this.onDismiss,
  this.clipDetailsNotifier,
  this.semanticsOnTapHint,
}) : super(listenable: color);