From d853d09f4c22d6e5d739321fce4bdbb7074ae819 Mon Sep 17 00:00:00 2001 From: AhsanAli13503 Date: Thu, 23 May 2024 16:42:52 +0500 Subject: [PATCH] fix: on wallet side --- wallet/lib/pages/events/events_screen.dart | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/wallet/lib/pages/events/events_screen.dart b/wallet/lib/pages/events/events_screen.dart index c437035cf2..158c2dbc27 100644 --- a/wallet/lib/pages/events/events_screen.dart +++ b/wallet/lib/pages/events/events_screen.dart @@ -160,16 +160,18 @@ class _EventPassViewScreenState extends State { ], ), ), - VerticalSpace(20.h), - CachedNetworkImage( - fit: BoxFit.fill, - imageUrl: widget.events.thumbnail, - errorWidget: (a, b, c) => const Center( - child: Icon( - Icons.error_outline, - color: AppColors.kWhite, - )), - placeholder: (context, url) => Shimmer(color: AppColors.kLightGray, child: const SizedBox.expand()), + Container( + margin: EdgeInsets.symmetric(horizontal: 20.w), + child: CachedNetworkImage( + fit: BoxFit.fill, + imageUrl: widget.events.thumbnail, + errorWidget: (a, b, c) => const Center( + child: Icon( + Icons.error_outline, + color: AppColors.kWhite, + )), + // placeholder: (context, url) => Shimmer(color: AppColors.kLightGray, child: const SizedBox.expand()), + ), ) ], ),