From 6f85000d9d4eab4198350f3edf85933337575c1f Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Mon, 4 Aug 2025 18:07:28 +0530 Subject: [PATCH] hotel master category added --- lib/Screens/hotels/hotels_list.dart | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/lib/Screens/hotels/hotels_list.dart b/lib/Screens/hotels/hotels_list.dart index 658e62d..058e148 100644 --- a/lib/Screens/hotels/hotels_list.dart +++ b/lib/Screens/hotels/hotels_list.dart @@ -234,6 +234,8 @@ class HotelsDataListState extends State { false) || (hotels['country_name']?.toLowerCase().contains(lowerQuery) ?? false) || + (hotels['category']?.toLowerCase().contains(lowerQuery) ?? + false) || (hotels['city']?.toLowerCase().contains(lowerQuery) ?? false) || (hotels['hotel_chain']?.toLowerCase().contains(lowerQuery) ?? false) || @@ -606,6 +608,15 @@ class HotelsDataListState extends State { ), ), ), + DataColumn( + label: Text( + 'Category', + style: GoogleFonts.poppins( + fontSize: 13, + fontWeight: FontWeight.w600, + ), + ), + ), DataColumn( label: Text( 'City', @@ -672,6 +683,15 @@ class HotelsDataListState extends State { ), ), ), + DataCell( + Text( + hotels['category'] ?? '', + style: TextStyle( + fontSize: 13, + fontFamily: "Inter", + ), + ), + ), DataCell( Text( hotels['city'] ?? 'N/A', @@ -868,6 +888,25 @@ class HotelsDataListState extends State { ], ), SizedBox(height: 2), + Row( + children: [ + Column( + crossAxisAlignment: + CrossAxisAlignment.start, + children: [ + Text( + "${hotels['category'] ?? ''} ", + style: GoogleFonts.poppins( + fontSize: 12, + color: Colors.black87, + fontWeight: FontWeight.w500, + ), + ), + ], + ), + ], + ), + SizedBox(height: 2), Row( children: [ Column(