getMonthViewHeight function

double getMonthViewHeight(
  1. BuildContext context
)

Gets the vertical space that one month view takes up.

Implementation

double getMonthViewHeight(BuildContext context) {
  const double padding = 8.0;
  const double titleHeight = 21.0;

  return (2 * padding) + titleHeight + 8.0 + (6 * getDayNumberSize(context));
}