isXlContext static method

bool isXlContext(
  1. BuildContext context
)

Returns true if width from BuildContext is ≥ xl.

Example:

if (ResponsiveBreakpoints.isXlContext(context)) {
  // layout for extra large screen
}

Implementation

static bool isXlContext(BuildContext context) => _w(context) >= xl;