utils/screen_sizes library
Enums
- ScreenSizes
- Divides screen sizes into three categories.
Functions
-
getDayNumberSize(
BuildContext context) → double - Gets the size of the day number widget.
-
getMonthViewHeight(
BuildContext context) → double - Gets the vertical space that one month view takes up.
-
getYearViewHeight(
BuildContext context) → double - Gets the vertical space that one year view takes up. Some years will have extra vertical space equal to the size of a day number.
-
screenSize(
BuildContext context) → ScreenSizes - Gets the screen size category of the screen.