Skip to content

Commit 33d7326

Browse files
committed
fix: RefreshProgressIndicator background shadow
1 parent 4bd5207 commit 33d7326

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

example/lib/page/sample/listener_header_page.dart

+2-3
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ class _ListenerHeaderPageState extends State<ListenerHeaderPage> {
112112
);
113113
} else {
114114
indicator = RefreshProgressIndicator(
115-
backgroundColor: Colors.transparent,
116115
value: value,
117116
);
118117
}
@@ -127,11 +126,11 @@ class _ListenerHeaderPageState extends State<ListenerHeaderPage> {
127126
reverseDuration: const Duration(milliseconds: 100),
128127
transitionBuilder: (child, animation) {
129128
return FadeTransition(
129+
opacity: animation,
130130
child: ScaleTransition(
131-
child: child,
132131
scale: animation,
132+
child: child,
133133
),
134-
opacity: animation,
135134
);
136135
},
137136
child: indicator,

0 commit comments

Comments
 (0)