mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: tabbar
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -132,15 +132,12 @@ class _DanmakuBlockPageState extends State<DanmakuBlockPage> {
|
||||
return Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(
|
||||
title: TabBar(
|
||||
controller: _danmakuBlockController.tabController,
|
||||
dividerColor: Colors.transparent,
|
||||
tabs: [
|
||||
for (var i = 0; i < ruleLabels.length; i++)
|
||||
Obx(() => Tab(
|
||||
text:
|
||||
'${ruleLabels[i]}(${_danmakuBlockController.ruleTypes[i]!.length})')),
|
||||
]),
|
||||
title: TabBar(controller: _danmakuBlockController.tabController, tabs: [
|
||||
for (var i = 0; i < ruleLabels.length; i++)
|
||||
Obx(() => Tab(
|
||||
text:
|
||||
'${ruleLabels[i]}(${_danmakuBlockController.ruleTypes[i]!.length})')),
|
||||
]),
|
||||
),
|
||||
body: tabBarView(
|
||||
controller: _danmakuBlockController.tabController,
|
||||
|
||||
Reference in New Issue
Block a user