|  |  |  | @ -61,13 +61,7 @@ class _OffersAndDiscountsDetailsState extends State<OffersAndDiscountsDetails> { | 
		
	
		
			
				|  |  |  |  |                 // transitionOnUserGestures: true, | 
		
	
		
			
				|  |  |  |  |                 child: RepaintBoundary( | 
		
	
		
			
				|  |  |  |  |                   key: _globalKey, | 
		
	
		
			
				|  |  |  |  |                   child: ClipRRect( | 
		
	
		
			
				|  |  |  |  |                     borderRadius: BorderRadius.circular(6), | 
		
	
		
			
				|  |  |  |  |                     child: Image.network( | 
		
	
		
			
				|  |  |  |  |                       getOffersList[0].bannerImage ?? "", | 
		
	
		
			
				|  |  |  |  |                       fit: BoxFit.contain, | 
		
	
		
			
				|  |  |  |  |                     ), | 
		
	
		
			
				|  |  |  |  |                   ).paddingAll(12), | 
		
	
		
			
				|  |  |  |  |                   child: ClipRRect(borderRadius: BorderRadius.circular(6), child: Image.network(getOffersList[0].bannerImage ?? "", fit: BoxFit.contain)).paddingAll(12), | 
		
	
		
			
				|  |  |  |  |                 ), | 
		
	
		
			
				|  |  |  |  |               ), | 
		
	
		
			
				|  |  |  |  |               8.height, | 
		
	
	
		
			
				
					|  |  |  | @ -77,7 +71,6 @@ class _OffersAndDiscountsDetailsState extends State<OffersAndDiscountsDetails> { | 
		
	
		
			
				|  |  |  |  |               Html( | 
		
	
		
			
				|  |  |  |  |                 data: AppState().isArabic(context) ? getOffersList[0].descriptionAr! : getOffersList[0].descriptionEn ?? "", | 
		
	
		
			
				|  |  |  |  |                 onLinkTap: (String? url, Map<String, String> attributes, _) { | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |                   launchUrl(Uri.parse(url!)); | 
		
	
		
			
				|  |  |  |  |                 }, | 
		
	
		
			
				|  |  |  |  |               ), | 
		
	
	
		
			
				
					|  |  |  | @ -88,19 +81,20 @@ class _OffersAndDiscountsDetailsState extends State<OffersAndDiscountsDetails> { | 
		
	
		
			
				|  |  |  |  |                 children: [ | 
		
	
		
			
				|  |  |  |  |                   getOffersList[0].discountDescription!.toText16(isBold: true), | 
		
	
		
			
				|  |  |  |  |                   InkWell( | 
		
	
		
			
				|  |  |  |  |                       onTap: () { | 
		
	
		
			
				|  |  |  |  |                         _shareOfferAsImage(); | 
		
	
		
			
				|  |  |  |  |                       }, | 
		
	
		
			
				|  |  |  |  |                       child: const Icon(Icons.share, color: MyColors.darkIconColor).paddingOnly(bottom: 4)) | 
		
	
		
			
				|  |  |  |  |                     onTap: () { | 
		
	
		
			
				|  |  |  |  |                       _shareOfferAsImage(); | 
		
	
		
			
				|  |  |  |  |                     }, | 
		
	
		
			
				|  |  |  |  |                     child: const Icon(Icons.share, color: MyColors.darkIconColor).paddingOnly(bottom: 4), | 
		
	
		
			
				|  |  |  |  |                   ), | 
		
	
		
			
				|  |  |  |  |                 ], | 
		
	
		
			
				|  |  |  |  |               ).paddingOnly(left: 8, right: 8), | 
		
	
		
			
				|  |  |  |  |               getOffersList[0].isHasLocation == "true" | 
		
	
		
			
				|  |  |  |  |                   ? InkWell( | 
		
	
		
			
				|  |  |  |  |                       onTap: () {}, | 
		
	
		
			
				|  |  |  |  |                       child: Row( | 
		
	
		
			
				|  |  |  |  |                         children: [const Icon(Icons.map_sharp, color: MyColors.darkIconColor).paddingOnly(bottom: 4), "Offer Location".toText16(isUnderLine: true).paddingOnly(left: 8)], | 
		
	
		
			
				|  |  |  |  |                       ).paddingOnly(left: 8, right: 8, top: 8), | 
		
	
		
			
				|  |  |  |  |                     ) | 
		
	
		
			
				|  |  |  |  |                     onTap: () {}, | 
		
	
		
			
				|  |  |  |  |                     child: Row( | 
		
	
		
			
				|  |  |  |  |                       children: [const Icon(Icons.map_sharp, color: MyColors.darkIconColor).paddingOnly(bottom: 4), "Offer Location".toText16(isUnderLine: true).paddingOnly(left: 8)], | 
		
	
		
			
				|  |  |  |  |                     ).paddingOnly(left: 8, right: 8, top: 8), | 
		
	
		
			
				|  |  |  |  |                   ) | 
		
	
		
			
				|  |  |  |  |                   : 12.height, | 
		
	
		
			
				|  |  |  |  |             ], | 
		
	
		
			
				|  |  |  |  |           ).objectContainerView().paddingOnly(left: 21, right: 21, top: 21), | 
		
	
	
		
			
				
					|  |  |  | @ -135,11 +129,7 @@ class _OffersAndDiscountsDetailsState extends State<OffersAndDiscountsDetails> { | 
		
	
		
			
				|  |  |  |  |   } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   void _scrollToTop() { | 
		
	
		
			
				|  |  |  |  |     _scrollController.animateTo( | 
		
	
		
			
				|  |  |  |  |       0, | 
		
	
		
			
				|  |  |  |  |       duration: const Duration(milliseconds: 500), | 
		
	
		
			
				|  |  |  |  |       curve: Curves.linear, | 
		
	
		
			
				|  |  |  |  |     ); | 
		
	
		
			
				|  |  |  |  |     _scrollController.animateTo(0, duration: const Duration(milliseconds: 500), curve: Curves.linear); | 
		
	
		
			
				|  |  |  |  |   } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   List<Widget> getItemsForSaleWidgets() { | 
		
	
	
		
			
				
					|  |  |  | @ -158,16 +148,7 @@ class _OffersAndDiscountsDetailsState extends State<OffersAndDiscountsDetails> { | 
		
	
		
			
				|  |  |  |  |         Hero( | 
		
	
		
			
				|  |  |  |  |           tag: "ItemImage" + getOffersList.offersDiscountId.toString(), | 
		
	
		
			
				|  |  |  |  |           transitionOnUserGestures: true, | 
		
	
		
			
				|  |  |  |  |           child: AspectRatio( | 
		
	
		
			
				|  |  |  |  |             aspectRatio: 148 / 127, | 
		
	
		
			
				|  |  |  |  |             child: ClipRRect( | 
		
	
		
			
				|  |  |  |  |               borderRadius: BorderRadius.circular(6), | 
		
	
		
			
				|  |  |  |  |               child: Image.network( | 
		
	
		
			
				|  |  |  |  |                 getOffersList.bannerImage ?? "", | 
		
	
		
			
				|  |  |  |  |                 fit: BoxFit.contain, | 
		
	
		
			
				|  |  |  |  |               ), | 
		
	
		
			
				|  |  |  |  |             ), | 
		
	
		
			
				|  |  |  |  |           ), | 
		
	
		
			
				|  |  |  |  |           child: AspectRatio(aspectRatio: 148 / 127, child: ClipRRect(borderRadius: BorderRadius.circular(6), child: Image.network(getOffersList.bannerImage ?? "", fit: BoxFit.contain))), | 
		
	
		
			
				|  |  |  |  |         ), | 
		
	
		
			
				|  |  |  |  |         5.height, | 
		
	
		
			
				|  |  |  |  |         getOffersList.titleEn!.toText16(isBold: true, color: const Color(0xff2B353E), maxlines: 1), | 
		
	
	
		
			
				
					|  |  |  | @ -181,10 +162,7 @@ class _OffersAndDiscountsDetailsState extends State<OffersAndDiscountsDetails> { | 
		
	
		
			
				|  |  |  |  |         // 16.height, | 
		
	
		
			
				|  |  |  |  |         getOffersList.discountDescription!.toText14(isBold: true, maxlines: 1), | 
		
	
		
			
				|  |  |  |  |         8.height, | 
		
	
		
			
				|  |  |  |  |         Row( | 
		
	
		
			
				|  |  |  |  |           mainAxisAlignment: MainAxisAlignment.spaceBetween, | 
		
	
		
			
				|  |  |  |  |           children: [checkDate(getOffersList.endDate!), SvgPicture.asset("assets/images/arrow_next.svg").paddingOnly(bottom: 4)], | 
		
	
		
			
				|  |  |  |  |         ), | 
		
	
		
			
				|  |  |  |  |         Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [checkDate(getOffersList.endDate!), SvgPicture.asset("assets/images/arrow_next.svg").paddingOnly(bottom: 4)]), | 
		
	
		
			
				|  |  |  |  |       ], | 
		
	
		
			
				|  |  |  |  |     ).objectContainerView().onPress(() { | 
		
	
		
			
				|  |  |  |  |       this.getOffersList[0] = getOffersList; | 
		
	
	
		
			
				
					|  |  |  | 
 |