ZetaRangeSelector constructor
- Key? key,
- bool? rounded,
- required RangeValues initialValues,
- double min = 0.0,
- double max = 100,
- String? label,
- ValueChanged<
RangeValues> ? onChange, - int? divisions,
- String? semanticLabel,
- bool showValues = true,
Creates a new ZetaRangeSelector
Implementation
ZetaRangeSelector({
super.key,
super.rounded,
required this.initialValues,
this.min = 0.0,
this.max = 100,
this.label,
this.onChange,
this.divisions,
this.semanticLabel,
this.showValues = true,
}) : assert(
min <= initialValues.start && initialValues.start <= initialValues.end && initialValues.end <= max,
'The start value must be less than or equal to the end value, and both must be within the range of min and max.',
);