DatePickerWidget constructor

DatePickerWidget({
  1. Key? key,
  2. bool onMonthChangeStartWithFirstDate = false,
  3. DateTime? minDateTime,
  4. DateTime? maxDateTime,
  5. DateTime? initDateTime,
  6. String dateFormat = DATETIME_PICKER_DATE_FORMAT,
  7. String dateFormatSeparator = DATE_FORMAT_SEPARATOR,
  8. DateTimePickerLocale locale = DATETIME_PICKER_LOCALE_DEFAULT,
  9. DateTimePickerTheme pickerTheme = DateTimePickerTheme.Default,
  10. DateVoidCallback? onCancel,
  11. DateValueCallback? onChange,
  12. 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);