isDestructive property

bool isDestructive
final

Whether this is a destructive action (e.g. delete or discard).

Renders with CupertinoColors.systemRed text in the neutral capsule unless an explicit tintColor is provided.

Implementation

final bool isDestructive;