Field.rangeSlider constructor
Field.rangeSlider(
- String key, {
- String? label,
- RangeValues? value,
- FormValidator? validator,
- bool autofocus = false,
- String? dummyData,
- Widget? header,
- TextStyle? titleStyle,
- bool? readOnly,
- dynamic onChanged(
- dynamic value
- FieldStyleRangeSlider? style,
Field.rangeSlider is a constructor that helps in managing range slider fields
Implementation
Field.rangeSlider(
this.key, {
this.label,
RangeValues? value,
this.validator,
this.autofocus = false,
this.dummyData,
this.header,
this.footer,
this.titleStyle,
this.hidden = false,
this.readOnly,
Function(dynamic value)? onChanged,
FieldStyleRangeSlider? style,
}) : _value = value,
this.style = style ?? FieldStyleRangeSlider() {
setOnChanged(onChanged);
widget = NyFormRangeSlider.fromField(this);
}