isDestructiveAction property

bool isDestructiveAction
final

Whether this action might change or delete data.

Destructive buttons have red text.

Implementation

final bool isDestructiveAction;