datePickerHour method

  1. @override
String datePickerHour(
  1. int hour
)
override

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

Examples: datePickerHour(1) in:

  • US English: 1
  • Arabic: ٠١

Implementation

@override
String datePickerHour(int hour) => hour.toString();