Skip to content

Commit

Permalink
Update FAQ.md
Browse files Browse the repository at this point in the history
更新常见问题
  • Loading branch information
xuelongqy authored Dec 24, 2018
1 parent 058a948 commit ee6d30f
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions art/md/cn/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,15 @@

示例代码,完整示例[SwiperPage](https://github.com/xuelongqy/flutter_easyrefresh/blob/master/example/lib/page/swiper_page.dart)
~~~dart
SliverChildBuilderDelegate((context, index){
return RefreshSafeArea(
child: Swiper(
itemBuilder: (BuildContext context, int index) {
return _createMarqueeCard(index);
},
itemCount: 5,
viewportFraction: 0.8,
scale: 0.9,
autoplay: true,
),
);
},
RefreshSafeArea(
child: Swiper(
itemBuilder: (BuildContext context, int index) {
return _createMarqueeCard(index);
},
itemCount: 5,
viewportFraction: 0.8,
scale: 0.9,
autoplay: true,
),
);
~~~

0 comments on commit ee6d30f

Please sign in to comment.