feat: 视频搜索条件筛选v1

This commit is contained in:
guozhigq
2023-08-22 09:49:23 +08:00
parent 5812b5cff1
commit 8703d9f576
6 changed files with 186 additions and 24 deletions

View File

@ -45,8 +45,9 @@ class _SearchPageState extends State<SearchPage> with RouteAware {
return OpenContainer(
closedElevation: 0,
openElevation: 0,
onClosed: (_) {
onClosed: (_) async {
// 在 openBuilder 关闭时触发的回调函数
await Future.delayed(const Duration(milliseconds: 500));
_searchController.onClear();
},
openColor: Theme.of(context).colorScheme.background,