handle login, home page responsiveness

This commit is contained in:
ashrafzarkanisala
2024-08-31 17:24:43 +03:00
parent dbe65bffff
commit 36c2412234
10 changed files with 471 additions and 507 deletions

View File

@ -10,6 +10,11 @@ mixin HelperResponsiveLayout {
MediaQuery.of(context).size.width < 1024;
}
bool isHafMediumScreenSize(BuildContext context) {
return MediaQuery.of(context).size.width >= 600 / 1.3 &&
MediaQuery.of(context).size.width < 1024 / 1.3;
}
bool isLargeScreenSize(BuildContext context) {
return MediaQuery.of(context).size.width >= 1024 &&
MediaQuery.of(context).size.width < 1440;