feat(flutter): 统一文字下拉刷新

This commit is contained in:
Zhou Weidong committed 2026-10-20 16:47:13 +08:00
1 parent 0ad2cd5e95
commit 5bdcb989bb
19 files changed
+320 -38

No files matched your search

@@ -14,6 +14,7 @@ import '../../core/formatting/error_text.dart';
import '../../core/platform/haptics.dart';
import '../../core/theme/app_colors.dart';
import '../../core/theme/app_theme.dart';
import '../../core/widgets/app_pull_to_refresh.dart';
import '../../core/widgets/auth_gate.dart';
import '../../core/widgets/empty_state.dart';
import '../../core/widgets/subpage_header.dart';
@@ -145,10 +146,7 @@ class _WatchRecordsBodyState extends State<_WatchRecordsBody> {
}
Widget _refreshable({required List<Widget> children}) {
return RefreshIndicator(
color: AppColors.blue,
backgroundColor: AppColors.card,
strokeWidth: 2,
return AppPullToRefresh(
onRefresh: controller.load,
child: ListView(
physics: const AlwaysScrollableScrollPhysics(),