isDesktopScreen static method

bool isDesktopScreen(
  1. BuildContext context
)

Returns true if the device screen is large enough for desktop view.

Implementation

static bool isDesktopScreen(BuildContext context) {
  return MediaQuery.of(context).size.width >= TSizes().desktopScreenSize;
}