formatMinute function

  1. @override
String formatMinute(
  1. TimeOfDay timeOfDay
)

Implementation

@override
String formatMinute(TimeOfDay timeOfDay) {
  final int minute = timeOfDay.minute;
  return minute < 10 ? '0$minute' : minute.toString();
}