AlertDialog({Key key, Widget title, EdgeInsets titlePadding, Widget content, EdgeInsets contentPadding, List<Widget> actions })

Creates an alert dialog.

Typically used in conjunction with showDialog.

Source

AlertDialog({
  Key key,
  this.title,
  this.titlePadding,
  this.content,
  this.contentPadding,
  this.actions
}) : super(key: key);