formatFullDate method Null safety

  1. @override
String formatFullDate(
  1. DateTime date
)
override

Formats day of week, month, day of month and year in a long-width format.

Does not abbreviate names. Appears in spoken announcements of the date picker invoked using showDatePicker, when accessibility mode is on.

Examples:

  • US English: Wednesday, September 27, 2017
  • Russian: Среда, Сентябрь 27, 2017

Implementation

@override
String formatFullDate(DateTime date) {
  return _longDateFormat.format(date);
}