isMobile static method

bool isMobile(
  1. BuildContext context
)

Checks if the current screen size is mobile

Implementation

static bool isMobile(BuildContext context) {
  return getScreenSize(context) == ScreenSize.mobile;
}