mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
handle login, home page responsiveness
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user