isMediumScreen static method

bool isMediumScreen(
  1. BuildContext context
)

Implementation

static bool isMediumScreen(BuildContext context) {
  return MediaQuery.of(context).size.width >= 800 &&
      MediaQuery.of(context).size.width <= 1200;
}