opt: RefreshIndicator

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-08 10:15:39 +08:00
parent 04a0e39980
commit 1a5639006b
26 changed files with 62 additions and 25 deletions

View File

@@ -1,3 +1,4 @@
import 'package:PiliPalaX/common/widgets/refresh_indicator.dart';
import 'package:PiliPalaX/pages/fav_search/view.dart' show SearchType;
import 'package:easy_debounce/easy_throttle.dart';
import 'package:flutter/material.dart';
@@ -176,7 +177,7 @@ class _HistoryPageState extends State<HistoryPage> {
],
),
),
body: RefreshIndicator(
body: refreshIndicator(
onRefresh: () async {
await _historyController.onRefresh();
return;