formatFullDate method
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) {
final jalaliDate = Jalali.fromDateTime(date);
return '${jalaliDate.day} ${_months[jalaliDate.month - 1]} ${jalaliDate.year}'; // Full date format
}