bump flutter

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 15:36:13 +08:00
parent ac60ac417b
commit 04a157c64a
7 changed files with 30 additions and 23 deletions

View File

@@ -600,8 +600,7 @@ class RefreshIndicatorState extends State<RefreshIndicator>
_status = RefreshIndicatorStatus.refresh;
});
final Future<void> refreshResult = widget.onRefresh();
refreshResult.whenComplete(() {
widget.onRefresh().whenComplete(() {
if (mounted && _status == RefreshIndicatorStatus.refresh) {
completer.complete();
_dismiss(RefreshIndicatorStatus.done);