datePickerHour method Null safety

String datePickerHour(
  1. int hour
)

Hour that is shown in CupertinoDatePicker spinner corresponding to the given hour value.

Examples: datePickerHour(1) in:

  • US English: 1
  • Arabic: ٠١

Implementation

// The global version uses date symbols data from the intl package.
String datePickerHour(int hour);