VerticalDateRangePicker constructor

const VerticalDateRangePicker({
  1. Key? key,
  2. DateTimeRange? initialDateRange,
  3. required DateTime firstDate,
  4. required DateTime lastDate,
  5. DateTime? currentDate,
  6. String? restorationId,
  7. required ValueChanged<DateTime?> onEndDateChanged,
  8. required ValueChanged<DateTime> onStartDateChanged,
  9. Color? highLightColor,
  10. Color? selectedColor,
  11. TextStyle? selectedTextStyle,
  12. TextStyle? disabledTexStyle,
  13. bool? showPresentDay,
  14. Color? presentDayStrokeColor,
  15. double? itemHeight,
  16. Color? splashColor,
  17. double? spaceBetweenEachMonth,
  18. TextStyle? dayTextStyle,
  19. double? spaceBetweenRows,
  20. double? monthNameHeight,
  21. TextStyle? monthTextStyle,
  22. TextStyle? daysHeaderTexStyle,
})

A Material-style date range picker.

Implementation

const VerticalDateRangePicker({
  Key? key,
  this.initialDateRange,
  required this.firstDate,
  required this.lastDate,
  this.currentDate,
  this.restorationId,
  required this.onEndDateChanged,
  required this.onStartDateChanged,
  this.highLightColor,
  this.selectedColor,
  this.selectedTextStyle,
  this.disabledTexStyle,
  this.showPresentDay,
  this.presentDayStrokeColor,
  this.itemHeight,
  this.splashColor,
  this.spaceBetweenEachMonth,
  this.dayTextStyle,
  this.spaceBetweenRows,
  this.monthNameHeight,
  this.monthTextStyle,
  this.daysHeaderTexStyle,
}) : super(key: key);