opt: rank tab

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-12 10:49:36 +08:00
parent 12a236f397
commit f571121b66
2 changed files with 4 additions and 5 deletions

View File

@@ -28,8 +28,8 @@ class _RankPageState extends State<RankPage>
super.build(context);
return Row(
children: [
Expanded(
flex: 18,
SizedBox(
width: 64,
child: SingleChildScrollView(
padding: EdgeInsets.only(
bottom: MediaQuery.paddingOf(context).bottom + 80,
@@ -63,7 +63,7 @@ class _RankPageState extends State<RankPage>
child: Container(
alignment: Alignment.center,
padding:
const EdgeInsets.symmetric(vertical: 10),
const EdgeInsets.symmetric(vertical: 7),
child: Text(
_rankController.tabs[index]['label'],
style: TextStyle(
@@ -91,7 +91,6 @@ class _RankPageState extends State<RankPage>
),
),
Expanded(
flex: 82,
child: TabBarView(
physics: const NeverScrollableScrollPhysics(),
controller: _rankController.tabController,