datePickerYear method Null safety
- int yearIndex
override
Year that is shown in CupertinoDatePicker spinner corresponding to the given year index.
Examples: datePickerYear(1) in:
- US English: 2018
- Korean: 2018년
Implementation
@override
String datePickerYear(int yearIndex) => yearIndex.toString();