destructive property

bool destructive
final

A flag indicating if the confirmation is destructive (e.g., delete operations). When true, the confirm button uses a red DestructiveButton for visual warning. Defaults to false for non-critical confirmations using PrimaryButton.

Implementation

final bool destructive;