MaterialDatePickerData constructor

MaterialDatePickerData({
  1. DateTime? initialDate,
  2. DateTime? firstDate,
  3. DateTime? lastDate,
  4. DateTime? currentDate,
  5. DatePickerEntryMode? initialEntryMode,
  6. SelectableDayPredicate? selectableDayPredicate,
  7. String? helpText,
  8. String? cancelText,
  9. String? confirmText,
  10. Locale? locale,
  11. bool? useRootNavigator,
  12. RouteSettings? routeSettings,
  13. TextDirection? textDirection,
  14. TransitionBuilder? builder,
  15. DatePickerMode? initialDatePickerMode,
  16. String? errorFormatText,
  17. String? errorInvalidText,
  18. String? fieldHintText,
  19. String? fieldLabelText,
  20. Offset? anchorPoint,
  21. TextInputType? keyboardType,
  22. ValueChanged<DatePickerEntryMode>? onDatePickerModeChange,
  23. Icon? switchToCalendarEntryModeIcon,
  24. Icon? switchToInputEntryModeIcon,
  25. Color? barrierColor,
  26. bool? barrierDismissible,
  27. 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,
});