widthBelow method

bool widthBelow(
  1. double width
)

Whether the window is narrower than width.

Implementation

bool widthBelow(double width) => MediaQuery.sizeOf(this).width < width;