datePickerMinute method

  1. @override
String datePickerMinute(
  1. int minute
)
override

Minute that is shown in CupertinoDatePicker spinner corresponding to the given minute value.

Examples: datePickerMinute(1) in:

  • US English: 01
  • Arabic: ٠١

Implementation

@override
String datePickerMinute(int minute) =>
    minute.toString().padLeft(2, '0') + '分';