isLgContext static method

bool isLgContext(
  1. BuildContext context
)

Returns true if width from BuildContext is ≥ lg.

Example:

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

Implementation

static bool isLgContext(BuildContext context) => _w(context) >= lg;