MaterialDatePickerData constructor
MaterialDatePickerData({
- DateTime? initialDate,
- DateTime? firstDate,
- DateTime? lastDate,
- DateTime? currentDate,
- DatePickerEntryMode? initialEntryMode,
- SelectableDayPredicate? selectableDayPredicate,
- String? helpText,
- String? cancelText,
- String? confirmText,
- Locale? locale,
- RouteSettings? routeSettings,
- TextDirection? textDirection,
- TransitionBuilder? builder,
- DatePickerMode? initialDatePickerMode,
- String? errorFormatText,
- String? errorInvalidText,
- String? fieldHintText,
- String? fieldLabelText,
- Offset? anchorPoint,
- TextInputType? keyboardType,
- ValueChanged<
DatePickerEntryMode> ? onDatePickerModeChange, - Icon? switchToCalendarEntryModeIcon,
- Icon? switchToInputEntryModeIcon,
- Color? barrierColor,
- bool? barrierDismissible,
- String? barrierLabel,
Implementation
MaterialDatePickerData({
super.initialDate,
super.firstDate,
super.lastDate,
this.currentDate,
this.initialEntryMode,
this.selectableDayPredicate,
this.helpText,
this.cancelText,
this.confirmText,
this.locale,
this.useRootNavigator,
this.routeSettings,
this.textDirection,
this.builder,
this.initialDatePickerMode,
this.errorFormatText,
this.errorInvalidText,
this.fieldHintText,
this.fieldLabelText,
this.anchorPoint,
this.keyboardType,
this.onDatePickerModeChange,
this.switchToCalendarEntryModeIcon,
this.switchToInputEntryModeIcon,
this.barrierColor,
this.barrierDismissible,
this.barrierLabel,
});