RoundSlider constructor

const RoundSlider({
  1. Key? key,
  2. RoundSliderStyle style = const RoundSliderStyle(),
  3. required double value,
  4. required dynamic onChanged(
    1. double value
    ),
  5. 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);