ReadOnly mode [enhancement]
mxaxs opened this issue · 0 comments
mxaxs commented
Awsome Widget pal!
Just a suggestion, easy to implement. I miss a readonly property and saw it is just a few lines change.
- Add a property readOnly to class
- _interactionEnabled is the point! I've added && !widget.readOnly to line:
bool get _interactionEnabled => !widget.readOnly && (widget.onChangeEnd != null || widget.onChange != null && !widget.appearance.spinnerMode);
It would be great!
Thanks in advance