|
|
|
@ -632,8 +632,9 @@ class _DashboardScreenState extends State<DashboardScreen> with WidgetsBindingOb
|
|
|
|
itemBuilder: (BuildContext cxt, int index) {
|
|
|
|
itemBuilder: (BuildContext cxt, int index) {
|
|
|
|
return model.isOffersLoading
|
|
|
|
return model.isOffersLoading
|
|
|
|
? const OffersShimmerWidget()
|
|
|
|
? const OffersShimmerWidget()
|
|
|
|
: InkWell(
|
|
|
|
: data.getOffersList.isNotEmpty
|
|
|
|
onTap: () {
|
|
|
|
? InkWell(
|
|
|
|
|
|
|
|
onTap: () {
|
|
|
|
navigateToDetails(data.getOffersList[index]);
|
|
|
|
navigateToDetails(data.getOffersList[index]);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: SizedBox(
|
|
|
|
child: SizedBox(
|
|
|
|
@ -668,7 +669,8 @@ class _DashboardScreenState extends State<DashboardScreen> with WidgetsBindingOb
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
)
|
|
|
|
|
|
|
|
: Container();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
separatorBuilder: (BuildContext cxt, int index) => 8.width,
|
|
|
|
separatorBuilder: (BuildContext cxt, int index) => 8.width,
|
|
|
|
itemCount: 9,
|
|
|
|
itemCount: 9,
|
|
|
|
|