disable function
disable flag
Implementation
bool disable(Set<ButtonState> button) {
return button.contains(ButtonState.disabled) ||
button.contains(ButtonState.forceDisabled);
}
disable flag
bool disable(Set<ButtonState> button) {
return button.contains(ButtonState.disabled) ||
button.contains(ButtonState.forceDisabled);
}