CupertinoContextMenuAction constructor Null safety
Construct a CupertinoContextMenuAction.
Implementation
const CupertinoContextMenuAction({
super.key,
required this.child,
this.isDefaultAction = false,
this.isDestructiveAction = false,
this.onPressed,
this.trailingIcon,
}) : assert(child != null),
assert(isDefaultAction != null),
assert(isDestructiveAction != null);