datePickerMinuteSemanticsLabel method

  1. @override
String datePickerMinuteSemanticsLabel(
  1. 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 minutes';
}