initialDatePickerMode property
An optional initialDatePickerMode argument can be used to have the calendar date picker initially appear in the DatePickerMode.year or DatePickerMode.day mode. It defaults to DatePickerMode.day, and must be non-null.
Implementation
final DatePickerMode? initialDatePickerMode;