isSelected property

bool isSelected
final

Some buttons can be use as "triggers" and have a selected state.

Simply, when isSelected is true, selectedDecorations are used instead of decorations.

Implementation

final bool isSelected;