enabled property

bool enabled

If non-null, sets the SemanticsNode.hasEnabledState semantic to true and the SemanticsNode.isEnabled semantic to the given value.

Implementation

bool get enabled => _enabled;
void enabled= (bool value)

Implementation

set enabled(bool value) {
  if (enabled == value)
    return;
  _enabled = value;
  markNeedsSemanticsUpdate();
}