isSmall static method

bool isSmall(
  1. BuildContext context
)

Check if the screen size is small

Implementation

static bool isSmall(BuildContext context) {
  return MediaQuery.of(context).size.width >= _smMinWidth &&
      MediaQuery.of(context).size.width < _mdMinWidth;
}