value property

num get value

The current value of the slider.

Implementation

num get value => _value;
set value (num newValue)

Sets the slider value and notifies listeners.

Implementation

set value(num newValue) {
  if (_value != newValue) {
    _value = newValue;
    notifyListeners();
  }
}