isDestructiveAction property
final
Whether this action might change or delete data.
Destructive buttons have red text.
Implementation
final bool isDestructiveAction;
Whether this action might change or delete data.
Destructive buttons have red text.
final bool isDestructiveAction;