From 534c8213d9d8bac063cc5971746923bef362b214 Mon Sep 17 00:00:00 2001 From: venbaittech Date: Mon, 23 Jun 2025 16:46:31 +0530 Subject: [PATCH] merge --- lib/Screens/policy/policyCriteria.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Screens/policy/policyCriteria.dart b/lib/Screens/policy/policyCriteria.dart index d7a3db7..6e4545f 100644 --- a/lib/Screens/policy/policyCriteria.dart +++ b/lib/Screens/policy/policyCriteria.dart @@ -2222,6 +2222,10 @@ class PolicyCriteriaState extends State { ? (apiDataForClass?['hotel_class'] ?? []) : (apiDataForClass?['train_class'] ?? []); } + String textLabel = "Class"; + if (ServiceIndxId != null) { + textLabel = (ServiceIndxId == "2") ? "Category" : "Class"; + } print("CLASSServiceId- $ServiceId"); print("CLASSpurposeList - $purposeList"); @@ -2287,7 +2291,7 @@ class PolicyCriteriaState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - "Class", + textLabel, style: GoogleFonts.poppins( fontSize: 12, // fontWeight: FontWeight.w200,