timerPickerMinute method Null safety

  1. @override
String timerPickerMinute(
  1. int minute
)
override

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

Examples: timerPickerMinute(1) in:

  • US English: 1
  • Arabic: ١

Implementation

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