ModalBarrier constructor

const ModalBarrier({Key key, Color color, bool dismissible: true, String semanticsLabel, 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);