diff --git a/lib/provider/unp4kc.dart b/lib/provider/unp4kc.dart index c73f731..9e14569 100644 --- a/lib/provider/unp4kc.dart +++ b/lib/provider/unp4kc.dart @@ -118,7 +118,7 @@ class Unp4kCModel extends _$Unp4kCModel { if (i == nextAwait) { state = state.copyWith( endMessage: "正在处理文件 ($i/${p4kFiles.length}) ..."); - await Future.delayed(const Duration(microseconds: 0)); + await Future.delayed(Duration.zero); nextAwait += 20000; } }