Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-05 14:21:59 +08:00
parent c226f8f6df
commit 5a0b045a1f
14 changed files with 232 additions and 71 deletions

View File

@@ -33,6 +33,7 @@ abstract class CommonDynPageState<T extends StatefulWidget> extends State<T>
late EdgeInsets padding;
late bool isPortrait;
late double maxWidth;
late double maxHeight;
bool _showFab = true;
@@ -89,6 +90,7 @@ abstract class CommonDynPageState<T extends StatefulWidget> extends State<T>
super.didChangeDependencies();
final size = MediaQuery.sizeOf(context);
maxWidth = size.width;
maxHeight = size.height;
isPortrait = size.isPortrait;
padding = MediaQuery.viewPaddingOf(context);
}