valueListener property

set valueListener (EventCallback? onValue)

Set a 'value changed' listener

Implementation

//ignore: avoid_setters_without_getters
set valueListener(EventCallback? onValue) {
  if (onValue != null) {
    _valueListeners.add(onValue);
  }
}