SliderController constructor
SliderController(
- SliderValue value
Creates a SliderController with the specified initial value.
The value
parameter provides the initial slider configuration as a
SliderValue. The controller notifies listeners when the value changes
through any method calls or direct value assignment.
Example:
final controller = SliderController(SliderValue.single(0.3));
Implementation
SliderController(super.value);