DatePickerWidget constructor
DatePickerWidget({
- Key? key,
- bool onMonthChangeStartWithFirstDate = false,
- DateTime? minDateTime,
- DateTime? maxDateTime,
- DateTime? initDateTime,
- String dateFormat = DATETIME_PICKER_DATE_FORMAT,
- String dateFormatSeparator = DATE_FORMAT_SEPARATOR,
- DateTimePickerLocale locale = DATETIME_PICKER_LOCALE_DEFAULT,
- DateTimePickerTheme pickerTheme = DateTimePickerTheme.Default,
- DateVoidCallback? onCancel,
- DateValueCallback? onChange,
- DateValueCallback? onConfirm,
Implementation
DatePickerWidget({
Key? key,
this.onMonthChangeStartWithFirstDate = false,
this.minDateTime,
this.maxDateTime,
this.initDateTime,
this.dateFormat: DATETIME_PICKER_DATE_FORMAT,
this.dateFormatSeparator: DATE_FORMAT_SEPARATOR,
this.locale: DATETIME_PICKER_LOCALE_DEFAULT,
this.pickerTheme: DateTimePickerTheme.Default,
this.onCancel,
this.onChange,
this.onConfirm,
}) : super(key: key);