BookingRangeSlider constructor
const
BookingRangeSlider({
- Key? key,
- Color availableColor = _defaultColorGreen,
- Color selectedColor = _defaultColorSelected,
- bool displayHandles = true,
- bool displayLabels = true,
- bool highlightSelected = true,
- TextStyle labelStyle = _defaultLabelStyle,
- TimeOfDay labelFrequency = const TimeOfDay(hour: 4, minute: 0),
- TimeOfDay initialTime = const TimeOfDay(hour: 0, minute: 0),
- TimeOfDay endingTime = const TimeOfDay(hour: 0, minute: 0),
- TimeOfDay division = const TimeOfDay(hour: 0, minute: 30),
- required ValueChanged<
BookingValues> ? onChanged, - required List<
BookingValues> values,
Implementation
const BookingRangeSlider({
Key? key,
this.unavailableColor = _defaultColorRed,
this.availableColor = _defaultColorGreen,
this.selectedColor = _defaultColorSelected,
this.displayHandles = true,
this.displayLabels = true,
this.highlightSelected = true,
this.labelStyle = _defaultLabelStyle,
this.labelFrequency = const TimeOfDay(hour: 4, minute: 0),
this.initialTime = const TimeOfDay(hour: 0, minute: 0),
this.endingTime = const TimeOfDay(hour: 0, minute: 0),
this.division = const TimeOfDay(hour: 0, minute: 30),
required this.onChanged,
required this.values,
}) : super(key: key);