getPreviousDayDateTime method

  1. @override
CalendarDateTime getPreviousDayDateTime()
override

Implementation

@override
CalendarDateTime getPreviousDayDateTime() {
  final date = _getSelectedDate();
  return CalendarDateTime(
      year: date.year, month: date.month, day: date.day - 1);
}