Dialog constructor
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);