SmartDateTimeRangePicker constructor
const
SmartDateTimeRangePicker({
- Key? key,
- required DateTime minDate,
- required DateTime maxDate,
- required int maxRangeDays,
- required ValueChanged<
DateTimeRange< onChanged,DateTime> > - List<
int> minuteSteps = const [0, 15, 30, 45], - List<
InlineSpan> ? calendarLabel, - List<
InlineSpan> ? startTimeLabel, - List<
InlineSpan> ? endTimeLabel, - SmartDateTimeTheme theme = const SmartDateTimeTheme(),
- Color surfaceColour = Colors.white,
- bool allowPastMonths = true,
Implementation
const SmartDateTimeRangePicker({
super.key,
required this.minDate,
required this.maxDate,
required this.maxRangeDays,
required this.onChanged,
this.minuteSteps = const [0, 15, 30, 45],
this.calendarLabel,
this.startTimeLabel,
this.endTimeLabel,
this.theme = const SmartDateTimeTheme(),
this.surfaceColour = Colors.white,
this.allowPastMonths = true,
});