DatePickerDialog constructor

DatePickerDialog(
  1. {required DateTime initialDate,
  2. required DateTime firstDate,
  3. required DateTime lastDate,
  4. Key? key,
  5. DateTime? currentDate,
  6. DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar,
  7. SelectableDayPredicate? selectableDayPredicate,
  8. String? cancelText,
  9. String? confirmText,
  10. String? helpText,
  11. DatePickerMode initialCalendarMode = DatePickerMode.day,
  12. String? errorFormatText,
  13. String? errorInvalidText,
  14. String? fieldHintText,
  15. String? fieldLabelText,
  16. String? restorationId}
)

A Material-style date picker dialog.

Implementation

DatePickerDialog