nextMonth method

Future<void> nextMonth()

Implementation

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