SimpleDialogOption constructor

const SimpleDialogOption({Key key, VoidCallback onPressed, Widget child })

Creates an option for a SimpleDialog.

Implementation

const SimpleDialogOption({
  Key key,
  this.onPressed,
  this.child,
}) : super(key: key);