SmartDateRangePicker constructor
const
SmartDateRangePicker({
- Key? key,
- required DateTime minDate,
- required DateTime maxDate,
- required int maxRangeDays,
- required ValueChanged<
DateTimeRange< onChanged,DateTime> > - SmartDateTimeTheme theme = const SmartDateTimeTheme(),
- Color surfaceColour = Colors.white,
- bool allowPastMonths = true,
Implementation
const SmartDateRangePicker({
super.key,
required this.minDate,
required this.maxDate,
required this.maxRangeDays,
required this.onChanged,
this.theme = const SmartDateTimeTheme(),
this.surfaceColour = Colors.white,
this.allowPastMonths = true,
});