datePickerMinuteSemanticsLabel method

  1. @override
String datePickerMinuteSemanticsLabel (int minute)
override

Semantics label for the given minute value in CupertinoDatePicker.

Implementation

@override
String datePickerMinuteSemanticsLabel(int minute) {
  if (minute == 1)
     return '1 minute';
  return minute.toString() + ' minutes';
}