CupertinoDialogAction constructor Null safety
Creates an action for an iOS-style dialog.
Implementation
const CupertinoDialogAction({
super.key,
this.onPressed,
this.isDefaultAction = false,
this.isDestructiveAction = false,
this.textStyle,
required this.child,
}) : assert(child != null),
assert(isDefaultAction != null),
assert(isDestructiveAction != null);