TF-652 Fix responsive landscape screen some device mobile (iPhone 13 Pro Max)

This commit is contained in:
dab246
2022-06-17 12:05:36 +07:00
committed by Dat H. Pham
parent a0fe64e2cf
commit 6dfd964036
4 changed files with 22 additions and 19 deletions
@@ -66,4 +66,8 @@ class ResponsiveUtils {
return widthScreen < 444 ? widthScreen : 444;
}
}
bool isSmallScreen(BuildContext context) {
return isPortraitMobile(context) || isLandscapeMobile(context) || isTablet(context);
}
}