datePickerMonth method Null safety

  1. @override
String datePickerMonth(
  1. int monthIndex
)
override

Month that is shown in CupertinoDatePicker spinner corresponding to the given month index.

Examples: datePickerMonth(1) in:

  • US English: January
  • Korean: 1월

Implementation

@override
String datePickerMonth(int monthIndex) => _months[monthIndex - 1];