CupertinoDialogAction constructor

const CupertinoDialogAction({VoidCallback onPressed, bool isDefaultAction: false, bool isDestructiveAction: false, TextStyle textStyle, @required Widget child })

Creates an action for an iOS-style dialog.

Implementation

const CupertinoDialogAction({
  this.onPressed,
  this.isDefaultAction = false,
  this.isDestructiveAction = false,
  this.textStyle,
  @required this.child,
}) : assert(child != null);