Dialog constructor

const Dialog({Key key, Widget child, Duration insetAnimationDuration: const Duration(milliseconds: 100), Curve insetAnimationCurve: Curves.decelerate, ShapeBorder shape })

Creates a dialog.

Typically used in conjunction with showDialog.

Implementation

const Dialog({
  Key key,
  this.child,
  this.insetAnimationDuration = const Duration(milliseconds: 100),
  this.insetAnimationCurve = Curves.decelerate,
  this.shape,
}) : super(key: key);