isDisabled property
bool
get
isDisabled
Gets whether the component is interactable.
Implementation
bool get isDisabled => disabled;
set
isDisabled
(bool newValue)
Sets whether the component is interactable and rebuilds the visual state.
Implementation
set isDisabled(bool newValue) {
if (disabled != newValue) {
disabled = newValue;
_rebuild();
}
}