isEnabled property

bool isEnabled

Implementation

bool get isEnabled => _getAttribute<bool>(kEnabled, false);
void isEnabled=(bool? x)

pass null to remove key from attributes

Implementation

set isEnabled(bool? x) =>
    (x == null) ? _attributes.remove(kEnabled) : _attributes[kEnabled] = x;