DateRangePickerDialog constructor
- Key? key,
- DateTimeRange? initialDateRange,
- required DateTime firstDate,
- required DateTime lastDate,
- DateTime? currentDate,
- DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar,
- String? helpText,
- String? cancelText,
- String? confirmText,
- String? saveText,
- String? errorInvalidRangeText,
- String? errorFormatText,
- String? errorInvalidText,
- String? fieldStartHintText,
- String? fieldEndHintText,
- String? fieldStartLabelText,
- String? fieldEndLabelText,
- TextInputType keyboardType = TextInputType.datetime,
- String? restorationId,
- Icon? switchToInputEntryModeIcon,
- Icon? switchToCalendarEntryModeIcon,
- SelectableDayForRangePredicate? selectableDayPredicate,
A Material-style date range picker dialog.
Implementation
const DateRangePickerDialog({
super.key,
this.initialDateRange,
required this.firstDate,
required this.lastDate,
this.currentDate,
this.initialEntryMode = DatePickerEntryMode.calendar,
this.helpText,
this.cancelText,
this.confirmText,
this.saveText,
this.errorInvalidRangeText,
this.errorFormatText,
this.errorInvalidText,
this.fieldStartHintText,
this.fieldEndHintText,
this.fieldStartLabelText,
this.fieldEndLabelText,
this.keyboardType = TextInputType.datetime,
this.restorationId,
this.switchToInputEntryModeIcon,
this.switchToCalendarEntryModeIcon,
this.selectableDayPredicate,
});