isSelected property
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;
Some buttons can be use as "triggers" and have a selected state.
Simply, when isSelected is true, selectedDecorations are used instead of decorations.
final bool isSelected;