RoundSlider constructor
const
RoundSlider({
- Key? key,
- RoundSliderStyle style = const RoundSliderStyle(),
- required double value,
- required dynamic onChanged(
- double value
- Duration animationDuration = const Duration(milliseconds: 2000),
Create a RoundSlider.
Implementation
const RoundSlider({
Key? key,
this.style: const RoundSliderStyle(),
required this.value,
required this.onChanged,
this.animationDuration: const Duration(milliseconds: 2000),
}) : assert(value >= 0 && value <= 1),
super(key: key);