enabled property

bool enabled

If non-null, sets the SemanticsFlag.hasEnabledState semantic to true and the SemanticsConfiguration.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();
}