isMobile static method
Checks if the current screen size is mobile
Implementation
static bool isMobile(BuildContext context) {
return getScreenSize(context) == ScreenSize.mobile;
}
Checks if the current screen size is mobile
static bool isMobile(BuildContext context) {
return getScreenSize(context) == ScreenSize.mobile;
}