Dialog({Key key, Widget child })

Creates a dialog.

Typically used in conjunction with showDialog.

Source

Dialog({
  Key key,
  this.child,
}) : super(key: key);