formatMediumDate method
Formats the date using a medium-width format.
Abbreviates month and days of week. This appears in the header of the date picker invoked using showDatePicker.
Examples:
- US English: Wed, Sep 27
- Russian: ср, сент. 27
Implementation
@override
String formatMediumDate(DateTime date) {
final jalaliDate = Jalali.fromDateTime(date);
return '${jalaliDate.day} ${_months[jalaliDate.month - 1]} ${jalaliDate.year}'; // Medium date format
}