diff --git a/lib/esim_offer/esim_offer_view.dart b/lib/esim_offer/esim_offer_view.dart index 71317f6..f15ec33 100644 --- a/lib/esim_offer/esim_offer_view.dart +++ b/lib/esim_offer/esim_offer_view.dart @@ -311,7 +311,6 @@ class EsimOfferPage extends StatelessWidget { ), ], ), - SizedBox(height: 150.h,) ], ), ), diff --git a/lib/home/widgets/e_sim_offer_section.dart b/lib/home/widgets/e_sim_offer_section.dart index 7c28654..85db7a7 100644 --- a/lib/home/widgets/e_sim_offer_section.dart +++ b/lib/home/widgets/e_sim_offer_section.dart @@ -1,6 +1,8 @@ import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; +import '../../core/route_constants.dart'; + class ESimOfferSection extends StatelessWidget { const ESimOfferSection({super.key}); @@ -116,16 +118,22 @@ class ESimOfferSection extends StatelessWidget { fontWeight: FontWeight.w600, ), ), - Container( - decoration: const BoxDecoration( - color: Colors.white, - shape: BoxShape.circle, - ), - padding: const EdgeInsets.all(12), - child: Image.asset( - "assets/icons/arrow_angle_up.png", - color: Color(0xFFF95F62), - scale: 4, + InkWell( + onTap: (){ + Navigator.of(context, rootNavigator: true) + .pushNamed(RouteConstants.esimOffer); + }, + child: Container( + decoration: const BoxDecoration( + color: Colors.white, + shape: BoxShape.circle, + ), + padding: const EdgeInsets.all(12), + child: Image.asset( + "assets/icons/arrow_angle_up.png", + color: Color(0xFFF95F62), + scale: 4, + ), ), ) ], diff --git a/lib/home/widgets/hotel_offers_section.dart b/lib/home/widgets/hotel_offers_section.dart index 10c7a64..9710724 100644 --- a/lib/home/widgets/hotel_offers_section.dart +++ b/lib/home/widgets/hotel_offers_section.dart @@ -2,6 +2,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:google_fonts/google_fonts.dart'; +import '../../core/route_constants.dart'; + class HotelOffersSection extends StatelessWidget { const HotelOffersSection({super.key}); @@ -140,16 +142,22 @@ class HotelOffersSection extends StatelessWidget { fontWeight: FontWeight.w600, ), ), - Container( - decoration: const BoxDecoration( - color: Colors.white, - shape: BoxShape.circle, - ), - padding: const EdgeInsets.all(12), - child: Image.asset( - "assets/icons/arrow_angle_up.png", - color: Color(0xFFF95F62), - scale: 4, + InkWell( + onTap: (){ + Navigator.of(context, rootNavigator: true) + .pushNamed(RouteConstants.hotelOffer); + }, + child: Container( + decoration: const BoxDecoration( + color: Colors.white, + shape: BoxShape.circle, + ), + padding: const EdgeInsets.all(12), + child: Image.asset( + "assets/icons/arrow_angle_up.png", + color: Color(0xFFF95F62), + scale: 4, + ), ), ) ],