getDayAmount method

  1. @override
List<int> getDayAmount()
override

Implementation

@override
List<int> getDayAmount() {
  int month = _getSelectedDate().month;
  int daysinCurrentMonth =
      getMonthDays(WeekDayStringTypes.FULL, month).length;
  List<int> days = [];
  for (var i = 1; i <= daysinCurrentMonth; i++) days.add(i);
  return days;
}