timerPickerSecond method

  1. @override
String timerPickerSecond(
  1. int second
)
override

Second that is shown in CupertinoTimerPicker corresponding to the given second value.

Examples: timerPickerSecond(1) in:

  • US English: 1
  • Arabic: ١

Implementation

@override
String timerPickerSecond(int second) {
  return _singleDigitSecondFormat.format(DateTime.utc(0, 0, 0, 0, 0, second));
}