nextMonth method
Implementation
Future<void> nextMonth() async {
setState(() {
currentMonth++;
if (currentMonth > 12) {
currentYear++;
currentMonth = 1;
}
});
await fetchMonthEvents();
}
Future<void> nextMonth() async {
setState(() {
currentMonth++;
if (currentMonth > 12) {
currentYear++;
currentMonth = 1;
}
});
await fetchMonthEvents();
}