isLaptop static method

dynamic isLaptop(
  1. BuildContext context
)

Implementation

static isLaptop(BuildContext context) {
  double width = MediaQuery.of(context).size.width;
  return width < ScreenSizes.Laptop;
}