isDesktopScreen static method
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;
}
Returns true if the device screen is large enough for desktop view.
static bool isDesktopScreen(BuildContext context) {
return MediaQuery.of(context).size.width >= TSizes().desktopScreenSize;
}