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) =>
    second.toString().padLeft(2, '0') + '秒';