isExtraLargeScreen static method

bool isExtraLargeScreen(
  1. BuildContext context
)

Check if the device is an extra-large screen. This method checks the width of the screen in the given BuildContext context and returns true if the width is greater than 1400, indicating an extra-large screen.

Implementation

static bool isExtraLargeScreen(BuildContext context) {
  return MediaQuery.sizeOf(context).width > 1400;
}