CupertinoActionSheetAction constructor
Creates an action for an iOS-style action sheet.
The child
and onPressed
arguments must not be null.
Implementation
const CupertinoActionSheetAction({
@required this.onPressed,
this.isDefaultAction = false,
this.isDestructiveAction = false,
@required this.child,
}) : assert(child != null),
assert(onPressed != null);