isDestructive property
Marks the action as destructive (e.g. "Delete", "Log out").
Maps to UIAlertAction.Style.destructive, which renders the label in the
system destructive red, and to
CupertinoDialogAction.isDestructiveAction on the fallback.
Cannot be combined with isCancel — UIAlertAction.Style is a single
value, so one of the two would be dropped.
Implementation
final bool isDestructive;