opt bar set

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-23 21:01:50 +08:00
parent 259e7080f8
commit 1a8f65b075
2 changed files with 36 additions and 37 deletions

View File

@@ -47,9 +47,9 @@ class _HomePageState extends State<HomePage>
width: double.infinity,
child: TabBar(
controller: _homeController.tabController,
tabs: [
for (var i in _homeController.tabs) Tab(text: i.label),
],
tabs: _homeController.tabs
.map((e) => Tab(text: e.label))
.toList(),
isScrollable: true,
dividerColor: Colors.transparent,
dividerHeight: 0,