mod: 代码整理

This commit is contained in:
guozhigq
2023-07-25 23:44:09 +08:00
parent 6d9f66c420
commit 7745ea076b
74 changed files with 387 additions and 424 deletions

View File

@ -11,10 +11,10 @@ import 'widgets/user_panel.dart';
import 'widgets/video_panel.dart';
class SearchPanel extends StatefulWidget {
String? keyword;
SearchType? searchType;
String? tag;
SearchPanel(
final String? keyword;
final SearchType? searchType;
final String? tag;
const SearchPanel(
{required this.keyword, required this.searchType, this.tag, Key? key})
: super(key: key);
@ -57,6 +57,7 @@ class _SearchPanelState extends State<SearchPanel>
@override
Widget build(BuildContext context) {
super.build(context);
return RefreshIndicator(
onRefresh: () async {
await _searchPanelController!.onRefresh();