MaterialDatePickerOptions constructor
const
MaterialDatePickerOptions({
- DateTime? currentDate,
- DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar,
- SelectableDayPredicate? selectableDayPredicate,
- String? helpText,
- String? cancelText,
- String? confirmText,
- Locale? locale,
- TextDirection? textDirection,
- TransitionBuilder? builder,
- DatePickerMode initialDatePickerMode = DatePickerMode.day,
- String? errorFormatText,
- String? errorInvalidText,
- String? fieldHintText,
- String? fieldLabelText,
- TextInputType? keyboardType,
- Icon? switchToInputEntryModeIcon,
- Icon? switchToCalendarEntryModeIcon,
Implementation
const MaterialDatePickerOptions({
this.currentDate,
this.initialEntryMode = DatePickerEntryMode.calendar,
this.selectableDayPredicate,
this.helpText,
this.cancelText,
this.confirmText,
this.locale,
this.useRootNavigator = true,
this.textDirection,
this.builder,
this.initialDatePickerMode = DatePickerMode.day,
this.errorFormatText,
this.errorInvalidText,
this.fieldHintText,
this.fieldLabelText,
this.keyboardType,
this.switchToInputEntryModeIcon,
this.switchToCalendarEntryModeIcon,
});