datePickerMinute method

  1. @override
String datePickerMinute (int minute)
override

Minute that is shown in CupertinoDatePicker spinner corresponding to the given minute value.

Examples: datePickerMinute(1) in:

  • US English: 01
  • Arabic: ٠١

Implementation

@override
String datePickerMinute(int minute) {
  return _doubleDigitMinuteFormat.format(DateTime.utc(0, 0, 0, 0, minute));
}