enabled property

bool enabled

Wether this element is enabled.

How to interpret this option is up to the WindowDelegate. The default implementation of WindowDelegate.showElement uses this option to determine whether to show this element in the Window.

Implementation

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

Implementation

set enabled(bool enabled) {
  if (enabled != _enabled) {
    _enabled = enabled;
    notifyListeners();
  }
}