isDestructive property

bool isDestructive
final

Marks the item as destructive (e.g. "Delete", "Logout", "Remove").

On iOS 14+ this applies UIMenuElement.Attributes.destructive so the LABEL renders in the system red destructive color (not just the icon). On iOS < 26 fallback (CupertinoActionSheet) the entry uses isDestructiveAction: true. On iOS 13 legacy UIAlertController fallback the action uses .destructive style.

Implementation

final bool isDestructive;