ModalBarrier constructor

const ModalBarrier(
  1. {Key key,
  2. Color color,
  3. bool dismissible: true,
  4. String semanticsLabel,
  5. bool barrierSemanticsDismissible: true}
)

Creates a widget that blocks user interaction.

Implementation

const ModalBarrier({
  Key key,
  this.color,
  this.dismissible = true,
  this.semanticsLabel,
  this.barrierSemanticsDismissible = true,
}) : super(key: key);