SimpleDialogOption constructor Null safety

const SimpleDialogOption(
  1. {Key? key,
  2. VoidCallback? onPressed,
  3. EdgeInsets? padding,
  4. Widget? child}
)

Creates an option for a SimpleDialog.

Implementation

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