setState method
Implementation
@protected
void setState(ButtonState value) {
if (_state == value) {
return;
}
_state = value;
_updateSkin();
updateLabel();
onChangeState?.call(_state);
}
@protected
void setState(ButtonState value) {
if (_state == value) {
return;
}
_state = value;
_updateSkin();
updateLabel();
onChangeState?.call(_state);
}