|
|
@ -592,7 +592,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin { |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFF727272), |
|
|
|
color: Color(0xFF727272), |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: MyFontWeight.regular), |
|
|
|
fontWeight: MyFontWeight.regular,), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
@ -607,6 +607,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin { |
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
viewportFraction: 0.32, |
|
|
|
viewportFraction: 0.32, |
|
|
|
scale: 0.7, |
|
|
|
scale: 0.7, |
|
|
|
|
|
|
|
loop: true, |
|
|
|
itemBuilder: (context, position) { |
|
|
|
itemBuilder: (context, position) { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
// height: 60.h, |
|
|
|
// height: 60.h, |
|
|
@ -634,7 +635,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin { |
|
|
|
); |
|
|
|
); |
|
|
|
}, |
|
|
|
}, |
|
|
|
itemCount: |
|
|
|
itemCount: |
|
|
|
(brandData != null && brandData.length > 0) ? brandData.length : 0, |
|
|
|
(brandData != null && brandData.length > 0) ? brandData.length : 1, |
|
|
|
), |
|
|
|
), |
|
|
|
// child: ListView.builder( |
|
|
|
// child: ListView.builder( |
|
|
|
// padding: EdgeInsets.only(left: 10.w, right: 10.w), |
|
|
|
// padding: EdgeInsets.only(left: 10.w, right: 10.w), |
|
|
|