isDestructive property

bool isDestructive
final

Whether this is a destructive action.

Destructive actions are displayed with red text and red glow. Typically used for delete, remove, or other dangerous actions.

Defaults to false.

Implementation

final bool isDestructive;