datePickerYear method Null safety
- int yearIndex
Year that is shown in CupertinoDatePicker spinner corresponding to the given year index.
Examples: datePickerYear(1) in:
- US English: 2018
- Korean: 2018년
Implementation
// The global version uses date symbols data from the intl package.
String datePickerYear(int yearIndex);