timerPickerSecondLabel method Null safety

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

Label that appears next to the minute picker in CupertinoTimerPicker when selected minute value is second. This function will deal with pluralization based on the second parameter.

Implementation

@override
String timerPickerSecondLabel(int second) => 'sec.';