addLabel method
Implementation
@override
@protected
void addLabel(ButtonState state) {
labelAlignContainer.child =
labelsMap[state] ?? (isSelected ? defaultSelectedLabel : defaultLabel);
}
@override
@protected
void addLabel(ButtonState state) {
labelAlignContainer.child =
labelsMap[state] ?? (isSelected ? defaultSelectedLabel : defaultLabel);
}