SizeSliderWidget constructor

const SizeSliderWidget({
  1. Key? key,
  2. required Duration animationsDuration,
  3. required dynamic onChanged(
    1. double value
    ),
  4. required double selectedValue,
})

Creates an instance of the widget.

The animationsDuration, onChanged, and selectedValue parameters are required and must not be null.

Implementation

const SizeSliderWidget({
  super.key,
  required this.animationsDuration,
  required this.onChanged,
  required this.selectedValue,
});