cell_calendar
cell_calendar copied to clipboard
How do I refresh the calendar events on page change ?
@mathewng Have you tried onPageChanged method ? https://pub.dev/documentation/cell_calendar/latest/cell_calendar/CellCalendar/onPageChanged.html
@mathewng Have you tried onPageChanged method ? https://pub.dev/documentation/cell_calendar/latest/cell_calendar/CellCalendar/onPageChanged.html
onPageChange method does give the new firstDate and lastDate but changing the events in setState does not change the events in the calendar. It is common to load new data when the page changes but with this calendar, I can't add new data on pageChange.