Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -21,8 +21,13 @@ class SearchVideoPanel extends CommonSearchPanel {
State<SearchVideoPanel> createState() => _SearchVideoPanelState();
}
class _SearchVideoPanelState extends CommonSearchPanelState<SearchVideoPanel,
SearchVideoData, SearchVideoItemModel> {
class _SearchVideoPanelState
extends
CommonSearchPanelState<
SearchVideoPanel,
SearchVideoData,
SearchVideoItemModel
> {
@override
late final SearchVideoController controller = Get.put(
SearchVideoController(
@@ -59,19 +64,21 @@ class _SearchVideoPanelState extends CommonSearchPanelState<SearchVideoPanel,
bgColor: Colors.transparent,
textColor:
controller.selectedType.value == i['type']
? theme.colorScheme.primary
: theme.colorScheme.outline,
? theme.colorScheme.primary
: theme.colorScheme.outline,
onTap: (value) async {
controller.selectedType.value = i['type'];
controller.order.value =
i['type'].toString().split('.').last;
controller.order.value = i['type']
.toString()
.split('.')
.last;
SmartDialog.showLoading(msg: 'loading');
await controller.onReload();
SmartDialog.dismiss();
},
),
),
]
],
],
),
),