|
@@ -92,11 +92,11 @@ class HomePage extends StatelessWidget {
|
|
? Center(child: CupertinoActivityIndicator(radius: 12.0))
|
|
? Center(child: CupertinoActivityIndicator(radius: 12.0))
|
|
: EasyRefresh(
|
|
: EasyRefresh(
|
|
key: _refreshKey,
|
|
key: _refreshKey,
|
|
- refreshHeader: BallPulseHeader(
|
|
|
|
|
|
+ header: BallPulseHeader(
|
|
key: _headerKey, color: Colors.pink),
|
|
key: _headerKey, color: Colors.pink),
|
|
- refreshFooter: BallPulseFooter(
|
|
|
|
|
|
+ footer: BallPulseFooter(
|
|
key: _footerKey, color: Colors.pink),
|
|
key: _footerKey, color: Colors.pink),
|
|
- loadMore: () => homeProvide.loadMoreHotGoods(),
|
|
|
|
|
|
+ onRefresh : () => homeProvide.loadMoreHotGoods(),
|
|
child: CustomScrollView(
|
|
child: CustomScrollView(
|
|
controller: _outController,
|
|
controller: _outController,
|
|
physics: BouncingScrollPhysics(),
|
|
physics: BouncingScrollPhysics(),
|