enabled property

bool get enabled

Implementation

bool get enabled => widget.enabled ?? widget.onChanged != null;