From 591de2e9f6bfb035401ebf419135af710608609a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyanghuaxuan=E2=80=9D?= <“646903573@qq.com”> Date: Thu, 31 Dec 2020 09:54:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E4=B8=8B=E6=8B=89=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=9B=BE=E6=A0=87=E6=94=AF=E6=8C=81=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/widgets/refresh/refresh_header/refresh_header.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/widgets/refresh/refresh_header/refresh_header.dart b/lib/widgets/refresh/refresh_header/refresh_header.dart index 32ce05f..85be25a 100644 --- a/lib/widgets/refresh/refresh_header/refresh_header.dart +++ b/lib/widgets/refresh/refresh_header/refresh_header.dart @@ -5,8 +5,8 @@ import 'package:pull_to_refresh/pull_to_refresh.dart'; class RefreshHeader extends StatelessWidget { final double offsetY; final double _height = 44; - - const RefreshHeader({Key key, this.offsetY = 0}) : super(key: key); + final Color color; + const RefreshHeader({Key key, this.offsetY = 0,this.color=Colors.white}) : super(key: key); @override Widget build(BuildContext context) { @@ -22,7 +22,7 @@ class RefreshHeader extends StatelessWidget { height: 36, child: LoadingIndicator( indicatorType: Indicator.ballSpinFadeLoader, - color: Colors.white, + color: color, ), ), ),