DateRangePickerDialog constructor Null safety
- {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,
- String? restorationId}
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.restorationId,
});