mod: custom version 2

This commit is contained in:
guozhigq
2023-09-09 11:46:24 +08:00
parent 0e39453558
commit f42d0d01ea
7 changed files with 125 additions and 124 deletions

View File

@ -308,28 +308,29 @@ class _MemberPageState extends State<MemberPage>
return MediaQuery.of(context).padding.top + kToolbarHeight;
},
onlyOneScrollInBody: true,
body: Column(
children: [
SizedBox(
width: double.infinity,
height: 50,
child: TabBar(controller: _tabController, tabs: const [
Tab(text: '主页'),
Tab(text: '动态'),
Tab(text: '投稿'),
]),
),
Expanded(
child: TabBarView(
controller: _tabController,
children: const [
Text('主页'),
MemberDynamicPanel(),
ArchivePanel(),
],
))
],
),
// body: Column(
// children: [
// SizedBox(
// width: double.infinity,
// height: 50,
// child: TabBar(controller: _tabController, tabs: const [
// Tab(text: '主页'),
// Tab(text: '动态'),
// Tab(text: '投稿'),
// ]),
// ),
// Expanded(
// child: TabBarView(
// controller: _tabController,
// children: const [
// Text('主页'),
// MemberDynamicPanel(),
// ArchivePanel(),
// ],
// ))
// ],
// ),
body: ArchivePanel(),
),
);
}