formatFullDate method

  1. @override
String formatFullDate(
  1. DateTime date

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.


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


String formatFullDate(DateTime date) {
  final String month = _months[date.month - DateTime.january];
  return '${_weekdays[date.weekday - DateTime.monday]}, $month ${}, ${date.year}';