|
...
|
...
|
@@ -293,7 +293,10 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
|
|
shrinkWrap: true,
|
|
|
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
itemCount: customerProvider.guestSunmodel.tips.task ==
|
|
|
|
null
|
|
|
|
null ||
|
|
|
|
customerProvider
|
|
|
|
.guestSunmodel.tips.task.length ==
|
|
|
|
0
|
|
|
|
? 0
|
|
|
|
: customerProvider.guestSunmodel.tips.task.length,
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
...
|
...
|
@@ -410,7 +413,11 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
|
|
shrinkWrap: true,
|
|
|
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
itemCount:
|
|
|
|
customerProvider.guestSunmodel.tips.recover == null
|
|
|
|
customerProvider.guestSunmodel.tips.recover ==
|
|
|
|
null ||
|
|
|
|
customerProvider.guestSunmodel.tips.recover
|
|
|
|
.length ==
|
|
|
|
0
|
|
|
|
? 0
|
|
|
|
: 1,
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
...
|
...
|
@@ -474,10 +481,13 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
|
|
controller: _controller,
|
|
|
|
shrinkWrap: true,
|
|
|
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
itemCount:
|
|
|
|
customerProvider.guestSunmodel.tips.awaken == null
|
|
|
|
? 0
|
|
|
|
: 1,
|
|
|
|
itemCount: customerProvider.guestSunmodel.tips.awaken ==
|
|
|
|
null ||
|
|
|
|
customerProvider
|
|
|
|
.guestSunmodel.tips.awaken.length ==
|
|
|
|
0
|
|
|
|
? 0
|
|
|
|
: 1,
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
// locationState = state;
|
|
|
|
|
...
|
...
|
|