Skip to content

Commit

Permalink
fix: RefreshProgressIndicator background shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelongqy committed Apr 27, 2023
1 parent 4bd5207 commit 33d7326
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions example/lib/page/sample/listener_header_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ class _ListenerHeaderPageState extends State<ListenerHeaderPage> {
);
} else {
indicator = RefreshProgressIndicator(
backgroundColor: Colors.transparent,
value: value,
);
}
Expand All @@ -127,11 +126,11 @@ class _ListenerHeaderPageState extends State<ListenerHeaderPage> {
reverseDuration: const Duration(milliseconds: 100),
transitionBuilder: (child, animation) {
return FadeTransition(
opacity: animation,
child: ScaleTransition(
child: child,
scale: animation,
child: child,
),
opacity: animation,
);
},
child: indicator,
Expand Down

0 comments on commit 33d7326

Please sign in to comment.