isSmallScreen static method

bool isSmallScreen(
  1. BuildContext context
)

Check if screen is small

Implementation

static bool isSmallScreen(BuildContext context) {
  return getScreenSize(context) == ScreenSize.small;
}