isSmallScreen static method

bool isSmallScreen(
  1. BuildContext context
)

Implementation

static bool isSmallScreen(BuildContext context) {
  return MediaQuery.of(context).size.width < 800;
}