opt: dyn tab

opt: reload

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-15 16:19:33 +08:00
parent 2b567e7cb3
commit 14f8ec37c5
11 changed files with 65 additions and 25 deletions

View File

@@ -132,17 +132,20 @@ class _SearchResultPageState extends State<SearchResultPage>
),
),
Expanded(
child: tabBarView(
controller: _tabController,
children: SearchType.values
.map(
(item) => SearchPanel(
keyword: _searchResultController.keyword,
searchType: item,
tag: _tag,
),
)
.toList(),
child: Material(
color: Colors.transparent,
child: tabBarView(
controller: _tabController,
children: SearchType.values
.map(
(item) => SearchPanel(
keyword: _searchResultController.keyword,
searchType: item,
tag: _tag,
),
)
.toList(),
),
),
),
],