isDestructive property

bool isDestructive
final

Whether this is a destructive action.

Destructive actions are displayed with red text inside the neutral capsule on GlassStyle.ios27 / GlassStyle.ios26 (and red text/glow on GlassStyle.classic), unless an explicit tintColor is also supplied. Typically used for delete, remove, or other dangerous actions.

Defaults to false.

Implementation

final bool isDestructive;