getFormattedDate method
Implementation
@override
String getFormattedDate({DateTime? customDate}) {
CalendarDateTime? dateTime;
if (customDate != null) {
dateTime = CalendarDateTime.parseDateTime(customDate.toString());
} else {
dateTime = _getSelectedDate();
}
return "${dateTime!.day} ${Translator.getFullMonthNames()[dateTime.month - 1]} ${dateTime.year}";
}