datePickerMinute method

  1. @override
String datePickerMinute (
  1. int minute
)
inherited

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));
}