isDestructive property

bool isDestructive
final

Whether this action represents a destructive action (e.g. Delete, Trash).

When true, defaults backgroundColor to CupertinoColors.systemRed and configures accessibility semantics accordingly.

Implementation

final bool isDestructive;