enabled property

bool get enabled

Implementation

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