isDestructiveAction property
Whether this action represents a destructive action.
Destructive actions are styled differently (typically red) to indicate they may cause data loss or other negative consequences.
Implementation
final bool isDestructiveAction;