enabled property

bool enabled

Whether interactions are enabled.

Implementation

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

Implementation

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

  _enabled = value;
  notifyListeners();
}