mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: post segment panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user