PersianDateRangePickerDialog constructor
const
PersianDateRangePickerDialog({
- Key? key,
- JalaliRange? initialDateRange,
- required Jalali firstDate,
- required Jalali lastDate,
- Jalali? currentDate,
- PersianDatePickerEntryMode initialEntryMode = PersianDatePickerEntryMode.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,
A Material-style date range picker dialog.
Implementation
const PersianDateRangePickerDialog({
super.key,
this.initialDateRange,
required this.firstDate,
required this.lastDate,
this.currentDate,
this.initialEntryMode = PersianDatePickerEntryMode.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,
});