opt: post segment panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-16 09:22:32 +08:00
parent 25d27e42ed
commit 8c408e59f6
3 changed files with 198 additions and 168 deletions

View File

@@ -54,20 +54,14 @@ class Utils {
GetDialogRoute(
pageBuilder: (buildContext, animation, secondaryAnimation) {
return MediaQuery.orientationOf(Get.context!) == Orientation.portrait
? isFullScreen
? Column(
children: [
const Spacer(flex: 4),
Expanded(flex: 6, child: child),
if (padding != null) SizedBox(height: padding),
],
)
: Column(
children: [
const Spacer(flex: 3),
Expanded(flex: 7, child: child),
],
)
? Column(
children: [
const Spacer(flex: 3),
Expanded(flex: 7, child: child),
if (isFullScreen && padding != null)
SizedBox(height: padding),
],
)
: Row(
children: [
const Spacer(),