danger property

bool danger
final

Defines whether the button will be in a danger state. Used to represent more critical actions. The default value is false.

Implementation

final bool danger;