formatMonthYear method
- DateTime date,
- MaterialLocalizations localizations
override
Formats the month and the year of the given date.
The returned string does not contain the day of the month. This appears in the date picker invoked using showDatePicker.
Implementation
@override
String formatMonthYear(DateTime date, MaterialLocalizations localizations) {
return localizations.formatMonthYear(date);
}