From 47642ecd4cc97e77d82e595e7811058fd2992877 Mon Sep 17 00:00:00 2001 From: tahaalam Date: Wed, 20 May 2026 15:09:49 +0300 Subject: [PATCH 1/2] update color scheme to use a consistent color (0xFF14384B) across multiple components --- .../Dialog/confirm_cancel_order_dialog.dart | 2 +- .../ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart | 2 +- .../NewCMC/new_cmc_step_one_page.dart | 2 +- .../NewCMC/new_cmc_step_tow_page.dart | 2 +- .../New_E_Referral/new_e_referral_step_one_page.dart | 2 +- .../New_E_Referral/new_e_referral_step_three_page.dart | 2 +- .../New_E_Referral/new_e_referral_step_two_page.dart | 2 +- .../E-Referral/dialogs/select_city_dialog.dart | 2 +- .../E-Referral/dialogs/select_country_ingo_Dialog.dart | 2 +- .../E-Referral/dialogs/select_relation_type_dialog.dart | 2 +- .../E-Referral/e_referral_confirm_sms_dialog.dart | 2 +- .../Dialog/confirm_cancel_order_dialog.dart | 2 +- .../Dialog/setting_page_radio_button_list_dialog.dart | 4 ++-- lib/pages/AlHabibMedicalService/parking_page.dart | 2 +- lib/pages/feedback/send_feedback_page.dart | 2 +- lib/pages/final_products_page.dart | 4 ++-- lib/pages/offers_categorise_page.dart | 4 ++-- lib/pages/parent_categorise_page.dart | 4 ++-- lib/pages/pharmacies/product-brands.dart | 2 +- .../screens/product-details/recommended_products.dart | 2 +- lib/pages/search_products_page.dart | 2 +- lib/pages/sub_categorise_page.dart | 4 ++-- lib/theme/theme_value.dart | 4 ++-- lib/uitl/app_toast.dart | 2 +- lib/uitl/utils.dart | 2 +- lib/uitl/utils_new.dart | 2 +- lib/widgets/card/rounded_container.dart | 2 +- .../data_display/medical/LabResult/LabResultWidget.dart | 4 ++-- lib/widgets/loadings/ShimmerLoading.dart | 2 +- lib/widgets/offers_packages/offers_packages.dart | 4 ++-- lib/widgets/weather_slider/weather_slider.dart | 9 ++++----- 31 files changed, 42 insertions(+), 43 deletions(-) diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart index 4ea8c4ee..0fca065a 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart @@ -64,7 +64,7 @@ class _ConfirmCancelOrderDialogState extends State { fontSize: 14, fontWeight: FontWeight.w700, letterSpacing: -0.46, - color: Colors.red, + color: const Color(0xFF14384B), ), ), ), diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart index 1b467242..9732d4a0 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart @@ -238,7 +238,7 @@ class _NewCMCPageState extends State with TickerProviderStateMixin { ], ) : Container( - color: Colors.red, + color: const Color(0xFF14384B), child: NewCMCStepOnePage( changePageViewIndex: changePageViewIndex, cMCInsertPresOrderRequestModel: cMCInsertPresOrderRequestModel, diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart index 43350f2d..c75aa6e2 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart @@ -63,7 +63,7 @@ class _NewCMCStepOnePageState extends State { children: [ Radio( value: num.tryParse(widget.model.cmcAllServicesList[index].serviceID!), - activeColor: Colors.red[800], + activeColor: const Color(0xFF14384B), onChanged: (newValue) async { selectedItem = index; PatientERCMCInsertServicesList patientERCMCInsertServicesList = PatientERCMCInsertServicesList( diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart index c1408e62..4a061443 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart @@ -261,7 +261,7 @@ class _NewCMCStepTowPageState extends State { Padding( padding: const EdgeInsets.only(left: 20, right: 20, top: 14, bottom: 14), child: SecondaryButton( - color: Colors.red[800], + color: const Color(0xFF14384B), textColor: Colors.white, onTap: () { setState(() { diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart index 72d28f60..a4f3c9a4 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart @@ -375,7 +375,7 @@ class MobileNumberTextFiled extends StatelessWidget { flex: 1, child: Icon( Icons.phone, - color: Colors.red, + color: const Color(0xFF14384B), )), Expanded( flex: 1, diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart index ec2a54d8..ab7b477d 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart @@ -318,7 +318,7 @@ class _NewEReferralStepThreePageState extends State { }, child: Icon( Icons.close, - color: Colors.red[300], + color: const Color(0xFF14384B), ), ) ], diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart index daf11a8f..d3d91f47 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart @@ -327,7 +327,7 @@ class MobileNumberTextFiled extends StatelessWidget { flex: 1, child: Icon( Icons.phone, - color: Colors.red, + color: const Color(0xFF14384B), )), Expanded( flex: 1, diff --git a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart index e07f01bf..f81ef650 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart @@ -95,7 +95,7 @@ class _SelectCityDialogState extends State { child: Center( child: Texts( TranslationBase.of(context).cancel.toUpperCase(), - color: Colors.red, + color: const Color(0xFF14384B), ), ), ), diff --git a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart index e1db9d5c..ddbea79b 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart @@ -1557,7 +1557,7 @@ class _SelectCountryDialogState extends State { child: Center( child: Texts( TranslationBase.of(context).cancel.toUpperCase(), - color: Colors.red, + color: const Color(0xFF14384B), ), ), ), diff --git a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart index d5323f4c..830c67b1 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart @@ -90,7 +90,7 @@ class _SelectRelationTypeDialogState extends State { child: Center( child: Texts( TranslationBase.of(context).cancel.toUpperCase(), - color: Colors.red, + color: const Color(0xFF14384B), ), ), ), diff --git a/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart index 3b5d585e..3c8cfe10 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart @@ -290,7 +290,7 @@ class _EReferralConfirmSMSDialogState extends State { width: double.maxFinite, child: Texts( model.error, - color: Colors.red, + color: const Color(0xFF14384B), ), ), SizedBox(height: 20), diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart index a0de3275..bdc25749 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart @@ -61,7 +61,7 @@ class _ConfirmCancelOrderDialogState extends State { child: Center( child: Texts( TranslationBase.of(context).cancel.toUpperCase(), - color: Colors.red, + color: const Color(0xFF14384B), ), ), ), diff --git a/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart b/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart index 61e171c3..f1228986 100644 --- a/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart +++ b/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart @@ -77,7 +77,7 @@ class _CommonRadioButtonDialogState extends State { child: TextButton( child: Text( TranslationBase.of(context).cancel, - style: TextStyle(color: Colors.redAccent, fontSize: 16, fontWeight: FontWeight.w500), + style: TextStyle(color: const Color(0xFF14384B), fontSize: 16, fontWeight: FontWeight.w500), ), onPressed: () => Navigator.pop(context), ), @@ -86,7 +86,7 @@ class _CommonRadioButtonDialogState extends State { child: TextButton( child: Text( TranslationBase.of(context).ok, - style: TextStyle(color: Colors.black87, fontSize: 16, fontWeight: FontWeight.w500), + style: TextStyle(color: const Color(0xFF14384B), fontSize: 16, fontWeight: FontWeight.w500), ), onPressed: () => widget.onSelect(_selectedIndex), ), diff --git a/lib/pages/AlHabibMedicalService/parking_page.dart b/lib/pages/AlHabibMedicalService/parking_page.dart index 9f2216b5..67f11c99 100644 --- a/lib/pages/AlHabibMedicalService/parking_page.dart +++ b/lib/pages/AlHabibMedicalService/parking_page.dart @@ -185,7 +185,7 @@ class ParkingPage extends StatelessWidget { onTap: () => model.clearParking(), child: Texts( TranslationBase.of(context).clearMyData, - color: Colors.red, + color: const Color(0xFF14384B), decoration: TextDecoration.underline, )) ], diff --git a/lib/pages/feedback/send_feedback_page.dart b/lib/pages/feedback/send_feedback_page.dart index b2bcce49..40a2ced3 100644 --- a/lib/pages/feedback/send_feedback_page.dart +++ b/lib/pages/feedback/send_feedback_page.dart @@ -299,7 +299,7 @@ class _SendFeedbackPageState extends State { }, child: Icon( FontAwesomeIcons.trashAlt.data, - color: Colors.red[300], + color: const Color(0xFF14384B), )) ], ), diff --git a/lib/pages/final_products_page.dart b/lib/pages/final_products_page.dart index 4432cb1c..db9de12c 100644 --- a/lib/pages/final_products_page.dart +++ b/lib/pages/final_products_page.dart @@ -241,7 +241,7 @@ class _FinalProductsPageState extends State { //MediaQuery.of(context).size.width / 2.8 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), // borderRadius: BorderRadius.only(topLeft: Radius.circular(6) // ), ), @@ -435,7 +435,7 @@ class _FinalProductsPageState extends State { width: model.finalProducts[index].rxMessage != null ? MediaQuery.of(context).size.width / 3.70 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), //borderRadius: BorderRadius.only(topLeft: Radius.circular(5)), ), child: model.finalProducts[index].rxMessage != null diff --git a/lib/pages/offers_categorise_page.dart b/lib/pages/offers_categorise_page.dart index 572978b9..b3827652 100644 --- a/lib/pages/offers_categorise_page.dart +++ b/lib/pages/offers_categorise_page.dart @@ -261,7 +261,7 @@ class _OffersCategorisePageState extends State { width: model.products[index].rxMessage != null ? MediaQuery.of(context).size.width / 5 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), borderRadius: BorderRadius.only(topLeft: Radius.circular(6)), ), child: model.products[index].rxMessage != null @@ -441,7 +441,7 @@ class _OffersCategorisePageState extends State { width: model.products[index].rxMessage != null ? MediaQuery.of(context).size.width / 5 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), borderRadius: BorderRadius.only(topLeft: Radius.circular(6)), ), child: model.products[index].rxMessage != null diff --git a/lib/pages/parent_categorise_page.dart b/lib/pages/parent_categorise_page.dart index 83196fab..1a4666d1 100644 --- a/lib/pages/parent_categorise_page.dart +++ b/lib/pages/parent_categorise_page.dart @@ -613,7 +613,7 @@ class _ParentCategorisePageState extends State { ), child: Texts( TranslationBase.of(context).offers.toUpperCase(), - color: Colors.red, + color: const Color(0xFF14384B), fontSize: 13.0, fontWeight: FontWeight.w900, ), @@ -820,7 +820,7 @@ class _ParentCategorisePageState extends State { width: model.parentProducts[index].rxMessage != null ? MediaQuery.of(context).size.width / 5.3 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), borderRadius: BorderRadius.only(topLeft: Radius.circular(6)), ), child: model.parentProducts[index].rxMessage != null diff --git a/lib/pages/pharmacies/product-brands.dart b/lib/pages/pharmacies/product-brands.dart index 198cf4b7..b2008393 100644 --- a/lib/pages/pharmacies/product-brands.dart +++ b/lib/pages/pharmacies/product-brands.dart @@ -254,7 +254,7 @@ class SearchBar extends SearchDelegate { height: 100, width: 100, child: Card( - color: Colors.red, + color: const Color(0xFF14384B), child: Center( child: Text(query), ), diff --git a/lib/pages/pharmacies/screens/product-details/recommended_products.dart b/lib/pages/pharmacies/screens/product-details/recommended_products.dart index 7f646971..3847981d 100644 --- a/lib/pages/pharmacies/screens/product-details/recommended_products.dart +++ b/lib/pages/pharmacies/screens/product-details/recommended_products.dart @@ -217,7 +217,7 @@ class _RecommendedProductsState extends State { : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), borderRadius: BorderRadius.only( topLeft: Radius.circular(6), ), diff --git a/lib/pages/search_products_page.dart b/lib/pages/search_products_page.dart index 974b5b98..82685d52 100644 --- a/lib/pages/search_products_page.dart +++ b/lib/pages/search_products_page.dart @@ -185,7 +185,7 @@ class _SearchProductsPageState extends State { width: model.searchList[index].rxMessage != null ? MediaQuery.of(context).size.width / 3 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), borderRadius: BorderRadius.only(topLeft: Radius.circular(6)), ), child: model.searchList[index].rxMessage != null diff --git a/lib/pages/sub_categorise_page.dart b/lib/pages/sub_categorise_page.dart index 7c1f398e..302fac70 100644 --- a/lib/pages/sub_categorise_page.dart +++ b/lib/pages/sub_categorise_page.dart @@ -633,7 +633,7 @@ class _SubCategorisePageState extends State { width: model.subProducts[index].rxMessage != null ? MediaQuery.of(context).size.width / 3 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), borderRadius: BorderRadius.only(topLeft: Radius.circular(6)), ), child: model.subProducts[index].rxMessage != null @@ -781,7 +781,7 @@ class _SubCategorisePageState extends State { width: model.subProducts[index].rxMessage != null ? MediaQuery.of(context).size.width / 3.70 : 0, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffb23838), + color: const Color(0xFF14384B), //borderRadius: BorderRadius.only(topLeft: Radius.circular(5)), ), child: model.subProducts[index].rxMessage != null diff --git a/lib/theme/theme_value.dart b/lib/theme/theme_value.dart index beba8bf0..8128f039 100644 --- a/lib/theme/theme_value.dart +++ b/lib/theme/theme_value.dart @@ -120,7 +120,7 @@ bwThemes({fontName}) { // subtitle1: TextStyle(color: Colors.red[900]), ), - tabBarTheme: TabBarThemeData(labelColor: Colors.red[900]), + tabBarTheme: TabBarThemeData(labelColor: const Color(0xFF14384B)), disabledColor: Colors.grey[800], // errorColor: Color.fromRGBO(235, 80, 60, 1.0), @@ -148,7 +148,7 @@ dimTheme({fontName}) { return ThemeData( fontFamily: fontName, //projectProvider.isArabic ? 'Cairo' : 'WorkSans', - primarySwatch: Colors.red, + primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, brightness: Brightness.dark, useMaterial3: false, diff --git a/lib/uitl/app_toast.dart b/lib/uitl/app_toast.dart index 3e1f08b5..0012d5e8 100644 --- a/lib/uitl/app_toast.dart +++ b/lib/uitl/app_toast.dart @@ -53,7 +53,7 @@ class AppToast { alignment: Alignment.topCenter, decoration: BoxDecoration( borderRadius: BorderRadius.circular(radius.toDouble()), - color: Colors.red, + color: const Color(0xFF14384B), ), child: Wrap( children: [ diff --git a/lib/uitl/utils.dart b/lib/uitl/utils.dart index 699b75b5..1b4e1470 100644 --- a/lib/uitl/utils.dart +++ b/lib/uitl/utils.dart @@ -786,7 +786,7 @@ class Utils { errorWidget: (context, url, error) { return Icon( Icons.error, - color: Colors.red, + color: const Color(0xFF14384B), size: 50, ); }); diff --git a/lib/uitl/utils_new.dart b/lib/uitl/utils_new.dart index 696a778d..2bda8e4f 100644 --- a/lib/uitl/utils_new.dart +++ b/lib/uitl/utils_new.dart @@ -522,7 +522,7 @@ Color getColor(String selectedColor) { if ("black" == selectedColor) { return Colors.black; } else if ("red" == selectedColor) { - return Colors.red; + return const Color(0xFF14384B); } else if ("blueAccent" == selectedColor) { return Colors.blueAccent; } else if ("blue" == selectedColor) { diff --git a/lib/widgets/card/rounded_container.dart b/lib/widgets/card/rounded_container.dart index 3922e3a0..ce79b073 100644 --- a/lib/widgets/card/rounded_container.dart +++ b/lib/widgets/card/rounded_container.dart @@ -31,7 +31,7 @@ class RoundedContainer extends StatefulWidget { this.margin = 10, this.elevation = 1, this.showBorder = false, - this.borderColor = Colors.red, + this.borderColor = const Color(0xFF14384B), this.customCornerRaduis = false, this.topLeft = 0, this.topRight = 0, diff --git a/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart b/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart index eb196499..f9ed198a 100644 --- a/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart +++ b/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart @@ -68,8 +68,8 @@ class LabResultWidget extends StatelessWidget { height: 45.0, child: CustomTextButton( backgroundColor: Color(0xFFc5272d), - disabledForegroundColor: Colors.red[300]!.withOpacity(0.38), - disabledBackgroundColor: Colors.red[300]!.withOpacity(0.12), + disabledForegroundColor: const Color(0xFF14384B).withOpacity(0.38), + disabledBackgroundColor: const Color(0xFF14384B).withOpacity(0.12), elevation: 0, onPressed: () { showKSADialog(context); diff --git a/lib/widgets/loadings/ShimmerLoading.dart b/lib/widgets/loadings/ShimmerLoading.dart index 5eed7922..6897ed5c 100644 --- a/lib/widgets/loadings/ShimmerLoading.dart +++ b/lib/widgets/loadings/ShimmerLoading.dart @@ -35,7 +35,7 @@ class _ShimmerLoadingWidgetState extends State { if (snapshot.hasError) { widget = Texts( "Error happened", - color: Colors.red, + color: const Color(0xFF14384B), fontSize: 20, bold: true, ); diff --git a/lib/widgets/offers_packages/offers_packages.dart b/lib/widgets/offers_packages/offers_packages.dart index 73cac199..08e09025 100644 --- a/lib/widgets/offers_packages/offers_packages.dart +++ b/lib/widgets/offers_packages/offers_packages.dart @@ -155,12 +155,12 @@ class _OfferPackagesItemWidgetState extends State { children: [ Texts( widget.model.title, - color: Colors.red, + color: const Color(0xFF14384B), fontSize: 20, ), Texts( widget.model.desc, - color: Colors.red, + color: const Color(0xFF14384B), fontSize: 12, ), Container( diff --git a/lib/widgets/weather_slider/weather_slider.dart b/lib/widgets/weather_slider/weather_slider.dart index dcbb01f1..83450bed 100644 --- a/lib/widgets/weather_slider/weather_slider.dart +++ b/lib/widgets/weather_slider/weather_slider.dart @@ -12,7 +12,6 @@ class WeatherSlider extends StatelessWidget { WeatherSlider(this.data, this.projectViewModel); LinearGradient red = LinearGradient(colors: [const Color(0xFF14384B), const Color(0xFF14384B)]); - LinearGradient green = LinearGradient(colors: [Colors.greenAccent[100]!, Colors.greenAccent]); LinearGradient grey = LinearGradient(colors: [Colors.grey[100]!, Colors.grey]); LinearGradient orange = LinearGradient(colors: [Colors.orangeAccent[100]!, Colors.orange]); LinearGradient yellow = LinearGradient(colors: [Colors.yellow[100]!, Colors.yellow[600]!]); @@ -65,7 +64,7 @@ class WeatherSlider extends StatelessWidget { width: 0, decoration: ShapeDecoration( color: data.colorName == 'red' - ? Colors.redAccent + ? const Color(0xFF14384B) : data.colorName == 'orange' ? Colors.orangeAccent : data.colorName == 'green' @@ -84,7 +83,7 @@ class WeatherSlider extends StatelessWidget { width: 0, decoration: ShapeDecoration( color: data.colorName == 'red' - ? Colors.redAccent + ? const Color(0xFF14384B) : data.colorName == 'orange' ? Colors.orangeAccent : data.colorName == 'green' @@ -131,7 +130,7 @@ class WeatherSlider extends StatelessWidget { AppText(data.categoriesNames!.category3!, fontSize: 12, color: data.categoriesNames!.category3 == data.category && data.colorName == 'red' - ? Colors.redAccent! + ? const Color(0xFF14384B) : data.categoriesNames!.category3! == data.category && data.colorName == 'orange' ? Colors.orangeAccent! : data.categoriesNames!.category3 == data.category && data.colorName == 'green' @@ -153,7 +152,7 @@ class WeatherSlider extends StatelessWidget { AppText(data.categoriesNames!.category5!, fontSize: 12, color: data.categoriesNames!.category5 == data.category && data.colorName == 'red' - ? Colors.redAccent + ? const Color(0xFF14384B) : data.categoriesNames!.category5! == data.category && data.colorName == 'orange' ? Colors.orangeAccent : data.categoriesNames!.category5! == data.category && data.colorName == 'green' From 7d082d11cea9e6ead364bbb7e09bb19cfbf4f99f Mon Sep 17 00:00:00 2001 From: tahaalam Date: Wed, 20 May 2026 15:48:18 +0300 Subject: [PATCH 2/2] update color scheme to use a consistent color (0xFF14384B) across various components --- .../NewCMC/new_cmc_page.dart | 4 ++-- .../orders_log_details_page.dart | 4 ++-- .../new_Home_health_care_step_one_page.dart | 2 +- .../NewHomeHealthCare/new_home_health_care_page.dart | 2 +- .../HomeHealthCare/orders_log_details_page.dart | 4 ++-- .../ancillary-orders/ancillaryOrdersDetails.dart | 2 +- lib/pages/AlHabibMedicalService/h2o/today_page.dart | 2 +- lib/pages/BookAppointment/SearchResultsByRegion.dart | 4 ++-- .../BookAppointment/components/LaserClinic.dart | 8 ++++---- .../search_result/ResultByFacility.dart | 2 +- .../search_result/ResultByHospital.dart | 2 +- .../search_result/ResultByRegion.dart | 2 +- .../search_result/SearchResultWithTab.dart | 4 ++-- .../SearchResultWithTabForHospital.dart | 4 ++-- lib/pages/BookAppointment/widgets/DoctorView.dart | 4 ++-- .../ContactUs/LiveChat/hospitalsLivechat_page.dart | 2 +- lib/pages/DrawerPages/family/add-family_type.dart | 2 +- lib/pages/DrawerPages/family/my-family.dart | 2 +- .../AmbulanceRequestIndex.dart | 4 ++-- .../ErService/EdOnline/EdOnlineQuestionsPage.dart | 2 +- lib/pages/ErService/OrderLogPage.dart | 4 ++-- lib/pages/MyAppointments/AppointmentDetails.dart | 2 +- lib/pages/MyAppointments/MyAppointments.dart | 2 +- lib/pages/MyAppointments/widgets/indicator.dart | 2 +- lib/pages/ToDoList/ToDo.dart | 4 ++-- lib/pages/ToDoList/widgets/upcomingCard.dart | 4 ++-- lib/pages/feedback/send_feedback_page.dart | 2 +- .../insurance/insurance_approval_detail_screen.dart | 2 +- lib/pages/insurance/insurance_approval_screen.dart | 4 ++-- lib/pages/login/forgot-password.dart | 2 +- lib/pages/login/login-type.dart | 2 +- lib/pages/login/register-info.dart | 2 +- lib/pages/login/register.dart | 2 +- lib/pages/medical/ask_doctor/request_type.dart | 2 +- lib/pages/medical/balance/advance_payment_page.dart | 2 +- .../prescriptions/prescription_details_inp.dart | 2 +- .../prescriptions/prescription_details_page.dart | 2 +- .../prescriptions_history_details_page.dart | 2 +- .../prescriptions/prescriptions_history_page.dart | 2 +- .../reports/inpatient_medical_reports_page.dart | 2 +- lib/pages/medical/reports/monthly_reports.dart | 4 ++-- lib/pages/medical/reports/report_home_page.dart | 2 +- .../packages_offers/OfferAndPackageDetailPage.dart | 4 ++-- .../packages_offers/packages_orders_history.dart | 2 +- .../product-details/product-name-and-price.dart | 12 ++++++------ lib/pages/pharmacies/widgets/ProductTileItem.dart | 4 ++-- .../pharmacies/widgets/home/ViewAllHomeWidget.dart | 2 +- lib/pages/settings/profile_setting.dart | 2 +- lib/uitl/utils.dart | 4 ++-- lib/widgets/data_display/medical/doctor_card.dart | 4 ++-- lib/widgets/offers_packages/PackagesOfferCard.dart | 8 ++++---- lib/widgets/others/not_auh_page.dart | 2 +- 52 files changed, 80 insertions(+), 80 deletions(-) diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart index 9732d4a0..b06cadb1 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart @@ -121,7 +121,7 @@ class _NewCMCPageState extends State with TickerProviderStateMixin { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } return Scaffold( @@ -218,7 +218,7 @@ class _NewCMCPageState extends State with TickerProviderStateMixin { child: Container( padding: EdgeInsets.symmetric(vertical: 8, horizontal: 14), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), border: Border.all(color: Colors.white, width: 1), borderRadius: BorderRadius.circular(10), ), diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart index 10a15d8d..8750129e 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart @@ -76,7 +76,7 @@ class OrdersLogDetailsPage extends StatelessWidget { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } return Container( decoration: BoxDecoration( @@ -159,7 +159,7 @@ class OrdersLogDetailsPage extends StatelessWidget { child: Container( padding: EdgeInsets.symmetric(vertical: 8, horizontal: 14), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), border: Border.all(color: Colors.white, width: 1), borderRadius: BorderRadius.circular(10), ), diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart index c7d74616..fdaae418 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart @@ -59,7 +59,7 @@ class _NewHomeHealthCareStepOnePageState extends State with Tick child: Container( padding: EdgeInsets.symmetric(vertical: 8, horizontal: 14), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), border: Border.all(color: Colors.white, width: 1), borderRadius: BorderRadius.circular(10), ), diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart index 71c40181..f08fd5fc 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart @@ -71,7 +71,7 @@ class OrdersLogDetailsPage extends StatelessWidget { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } return Container( decoration: BoxDecoration( @@ -154,7 +154,7 @@ class OrdersLogDetailsPage extends StatelessWidget { child: Container( padding: EdgeInsets.symmetric(vertical: 8, horizontal: 14), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), border: Border.all(color: Colors.white, width: 1), borderRadius: BorderRadius.circular(10), ), diff --git a/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart b/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart index 464786df..79117555 100644 --- a/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart +++ b/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart @@ -549,7 +549,7 @@ class _AnicllaryOrdersState extends State with SingleTic if (value.isApprovalCreated && value.approvalNo != 0) { color = Color(0xff359846); } else if (value.isApprovalRequired && value.isApprovalCreated && value.approvalNo == 0) { - color = Color(0xffD02127); + color = Color(0xff14384B); } else { color = Color(0xffCC9B14); } diff --git a/lib/pages/AlHabibMedicalService/h2o/today_page.dart b/lib/pages/AlHabibMedicalService/h2o/today_page.dart index 55a12105..18e3efb6 100644 --- a/lib/pages/AlHabibMedicalService/h2o/today_page.dart +++ b/lib/pages/AlHabibMedicalService/h2o/today_page.dart @@ -171,7 +171,7 @@ class _TodayPageState extends State { style: TextStyle( fontSize: 14, fontWeight: FontWeight.w600, - color: Color(0xffD02127), + color: Color(0xff14384B), letterSpacing: -0.56, decoration: TextDecoration.underline, ), diff --git a/lib/pages/BookAppointment/SearchResultsByRegion.dart b/lib/pages/BookAppointment/SearchResultsByRegion.dart index a1666ffc..af72a971 100644 --- a/lib/pages/BookAppointment/SearchResultsByRegion.dart +++ b/lib/pages/BookAppointment/SearchResultsByRegion.dart @@ -307,7 +307,7 @@ class RegionTitle extends StatelessWidget { "${TranslationBase.of(context).HospitalString(num.parse(hmgCount)).replaceAll("@", hmgCount)} ,", style: TextStyle( fontSize: 14, - color: Color(0xFFD02127), + color: Color(0xff14384B), fontWeight: FontWeight.w600), ), SizedBox( @@ -358,7 +358,7 @@ class HospitalTitle extends StatelessWidget { title, style: TextStyle( fontSize: 18, - color: isHMC ? Color(0xFF40ACC9) : Color(0xFFD02127), + color: isHMC ? Color(0xFF40ACC9) : Color(0xff14384B), fontWeight: FontWeight.w600), ), ], diff --git a/lib/pages/BookAppointment/components/LaserClinic.dart b/lib/pages/BookAppointment/components/LaserClinic.dart index f1b9be57..9303a9bb 100644 --- a/lib/pages/BookAppointment/components/LaserClinic.dart +++ b/lib/pages/BookAppointment/components/LaserClinic.dart @@ -320,7 +320,7 @@ class _LaserClinicState extends State with SingleTickerProviderStat }, child: Container( decoration: BoxDecoration( - color: _selectedCategoryIndex == index ? Color(0xffD02127) : Colors.white, + color: _selectedCategoryIndex == index ? Color(0xff14384B) : Colors.white, borderRadius: BorderRadius.circular(36), border: Border.all( width: 1, @@ -387,7 +387,7 @@ class _LaserClinicState extends State with SingleTickerProviderStat // _isFullBody = !_isFullBody; // }); // }, - // activeColor: Color(0xffD02127), + // activeColor: Color(0xff14384B), // ), // ), // ), @@ -451,7 +451,7 @@ class _LaserClinicState extends State with SingleTickerProviderStat margin: EdgeInsets.only(top: 5, right: 5), decoration: BoxDecoration( borderRadius: BorderRadius.circular(15.0), - border: Border.all(color: _isSelected ? Color(0xffD02127) : Color(0xffEAEAEA), width: 2), + border: Border.all(color: _isSelected ? Color(0xff14384B) : Color(0xffEAEAEA), width: 2), ), child: LaserBodyParts() .getCategoryImage(isMale, (isMale ? maleLaserCategory : femaleLaserCategory)[_selectedCategoryIndex].laserCategoryID, laserBodyPartsList[index].mappingCode!), @@ -462,7 +462,7 @@ class _LaserClinicState extends State with SingleTickerProviderStat height: 18, child: Icon(Icons.done, color: Colors.white, size: 12), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), borderRadius: BorderRadius.circular(30.0), ), ), diff --git a/lib/pages/BookAppointment/search_result/ResultByFacility.dart b/lib/pages/BookAppointment/search_result/ResultByFacility.dart index f1f7ba88..3a28e245 100644 --- a/lib/pages/BookAppointment/search_result/ResultByFacility.dart +++ b/lib/pages/BookAppointment/search_result/ResultByFacility.dart @@ -106,7 +106,7 @@ class HospitalTitle extends StatelessWidget { style: TextStyle( fontSize: 18, color: - isHMC ? Color(0xFF40ACC9) : Color(0xFFD02127), + isHMC ? Color(0xFF40ACC9) : Color(0xff14384B), fontWeight: FontWeight.w600), ), ], diff --git a/lib/pages/BookAppointment/search_result/ResultByHospital.dart b/lib/pages/BookAppointment/search_result/ResultByHospital.dart index b487094e..42c815dd 100644 --- a/lib/pages/BookAppointment/search_result/ResultByHospital.dart +++ b/lib/pages/BookAppointment/search_result/ResultByHospital.dart @@ -130,7 +130,7 @@ class HospitalBodyWidget extends StatelessWidget { fontSize: 22, color: isHMC ? Color(0xFF40ACC9) - : Color(0xFFD02127), + : Color(0xff14384B), fontWeight: FontWeight.w700), ), ), diff --git a/lib/pages/BookAppointment/search_result/ResultByRegion.dart b/lib/pages/BookAppointment/search_result/ResultByRegion.dart index 6eaa83d2..91553b3d 100644 --- a/lib/pages/BookAppointment/search_result/ResultByRegion.dart +++ b/lib/pages/BookAppointment/search_result/ResultByRegion.dart @@ -116,7 +116,7 @@ class RegionTitle extends StatelessWidget { "${TranslationBase.of(context).HospitalString(num.parse(hmgCount)).replaceAll("@", hmgCount)}", style: TextStyle( fontSize: 14, - color: Color(0xFFD02127), + color: Color(0xff14384B), fontWeight: FontWeight.w600), ), ], diff --git a/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart b/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart index 25d527b9..12ef0a5a 100644 --- a/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart +++ b/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart @@ -576,7 +576,7 @@ class RegionTitle extends StatelessWidget { "${TranslationBase.of(context).HospitalString(num.parse(hmgCount)).replaceAll("@", hmgCount)} ,", style: TextStyle( fontSize: 14, - color: Color(0xFFD02127), + color: Color(0xff14384B), fontWeight: FontWeight.w600), ), SizedBox( @@ -626,7 +626,7 @@ class HospitalTitle extends StatelessWidget { title, style: TextStyle( fontSize: 18, - color: isHMC ? Color(0xFF40ACC9) : Color(0xFFD02127), + color: isHMC ? Color(0xFF40ACC9) : Color(0xff14384B), fontWeight: FontWeight.w600), ), ], diff --git a/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart b/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart index 4f0e94cd..94d4644a 100644 --- a/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart +++ b/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart @@ -704,7 +704,7 @@ class RegionTitle extends StatelessWidget { "${TranslationBase.of(context).HospitalString(num.parse(hmgCount)).replaceAll("@", hmgCount)} ,", style: TextStyle( fontSize: 14, - color: Color(0xFFD02127), + color: Color(0xff14384B), fontWeight: FontWeight.w600), ), SizedBox( @@ -755,7 +755,7 @@ class HospitalTitle extends StatelessWidget { title, style: TextStyle( fontSize: 18, - color: isHMC ? Color(0xFF40ACC9) : Color(0xFFD02127), + color: isHMC ? Color(0xFF40ACC9) : Color(0xff14384B), fontWeight: FontWeight.w600), ), ], diff --git a/lib/pages/BookAppointment/widgets/DoctorView.dart b/lib/pages/BookAppointment/widgets/DoctorView.dart index 5e5d2775..c4f21b7b 100644 --- a/lib/pages/BookAppointment/widgets/DoctorView.dart +++ b/lib/pages/BookAppointment/widgets/DoctorView.dart @@ -178,8 +178,8 @@ class _DoctorViewState extends State { // RatingBar.readOnly( // initialRating: this.doctor.actualDoctorRate!.toDouble(), // size: 16.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, diff --git a/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart b/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart index 6abd177c..dd21af41 100644 --- a/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart +++ b/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart @@ -110,7 +110,7 @@ class _HospitalsLiveChatPageState extends State { TranslationBase.of(context).start, //Changed By Aamir URL chat!.isEmpty ? null : () => {launch(chat!)}, - color: Color(0xffD02127), + color: Color(0xff14384B), textColor: chat!.isEmpty ? Color(0xff000000) : Colors.white, disabledColor: Color(0xffEAEAEA), ), diff --git a/lib/pages/DrawerPages/family/add-family_type.dart b/lib/pages/DrawerPages/family/add-family_type.dart index 60e396c6..20174de3 100644 --- a/lib/pages/DrawerPages/family/add-family_type.dart +++ b/lib/pages/DrawerPages/family/add-family_type.dart @@ -63,7 +63,7 @@ class AddFamilyMemberType extends StatelessWidget { // TranslationBase.of(context).registerNow, // style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white, letterSpacing: -0.48), // ), - // color: Color(0xffD02127), + // color: Color(0xff14384B), // shape: RoundedRectangleBorder( // borderRadius: BorderRadius.circular(6), // ), diff --git a/lib/pages/DrawerPages/family/my-family.dart b/lib/pages/DrawerPages/family/my-family.dart index fa256d11..f35c8561 100644 --- a/lib/pages/DrawerPages/family/my-family.dart +++ b/lib/pages/DrawerPages/family/my-family.dart @@ -362,7 +362,7 @@ class _MyFamily extends State with TickerProviderStateMixin { padding: EdgeInsets.only(top: 3, bottom: 3, left: 8, right: 8), decoration: BoxDecoration( borderRadius: BorderRadius.circular(50), - color: result.status == 3 ? Color(0xff349745) : Color(0xffD02127), + color: result.status == 3 ? Color(0xff349745) : Color(0xff14384B), ), child: Text( result.statusDescription != null ? result.statusDescription! : "", diff --git a/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart b/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart index fc4155ca..4cde5db5 100644 --- a/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart +++ b/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart @@ -78,7 +78,7 @@ class _AmbulanceRequestIndexPageState extends State { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } } @@ -187,7 +187,7 @@ class _AmbulanceRequestIndexPageState extends State { child: Container( padding: EdgeInsets.symmetric(vertical: 8, horizontal: 14), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), border: Border.all(color: Colors.white, width: 1), borderRadius: BorderRadius.circular(10), ), diff --git a/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart b/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart index e5d819b1..cbdc5a22 100644 --- a/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart +++ b/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart @@ -54,7 +54,7 @@ class _EdOnlineQuestionsPageState extends State { children: [ Checkbox( value: widget.selectedQuestions!.contains(model.triageQuestionsModelList[index]), - activeColor: Color(0xffD02127), + activeColor: Color(0xff14384B), tristate: false, materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, onChanged: (bool? newValue) { diff --git a/lib/pages/ErService/OrderLogPage.dart b/lib/pages/ErService/OrderLogPage.dart index a551bda6..53625222 100644 --- a/lib/pages/ErService/OrderLogPage.dart +++ b/lib/pages/ErService/OrderLogPage.dart @@ -70,7 +70,7 @@ class OrderLogPage extends StatelessWidget { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } return Container( @@ -170,7 +170,7 @@ class OrderLogPage extends StatelessWidget { child: Container( padding: EdgeInsets.symmetric(vertical: 8, horizontal: 14), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), border: Border.all(color: Colors.white, width: 1), borderRadius: BorderRadius.circular(10), ), diff --git a/lib/pages/MyAppointments/AppointmentDetails.dart b/lib/pages/MyAppointments/AppointmentDetails.dart index 9805a691..5811b7d6 100644 --- a/lib/pages/MyAppointments/AppointmentDetails.dart +++ b/lib/pages/MyAppointments/AppointmentDetails.dart @@ -274,7 +274,7 @@ class _AppointmentDetailsState extends State with SingleTick TranslationBase.of(context).reviewAppointment, goToBookConfirm, // DocAvailableAppointments.areSlotsAvailable ? goToBookConfirm : null, - color: Color(0xFFD02127), + color: Color(0xff14384B), disabledColor: Color(0xff28323A).withOpacity(0.3), ), ), diff --git a/lib/pages/MyAppointments/MyAppointments.dart b/lib/pages/MyAppointments/MyAppointments.dart index 44d06899..cb15810a 100644 --- a/lib/pages/MyAppointments/MyAppointments.dart +++ b/lib/pages/MyAppointments/MyAppointments.dart @@ -509,7 +509,7 @@ class _MyAppointmentsState extends State with SingleTickerProvid height: 22, child: Radio( value: _value, - activeColor: _value == _currentPage ? Color(0xffD02127) : Color(0xffE8E8E8), + activeColor: _value == _currentPage ? Color(0xff14384B) : Color(0xffE8E8E8), groupValue: _currentPage, onChanged: (index) { setState(() { diff --git a/lib/pages/MyAppointments/widgets/indicator.dart b/lib/pages/MyAppointments/widgets/indicator.dart index 37cb0fac..9b548c23 100644 --- a/lib/pages/MyAppointments/widgets/indicator.dart +++ b/lib/pages/MyAppointments/widgets/indicator.dart @@ -41,7 +41,7 @@ class PageViewIndicator extends StatelessWidget { height: isActive ? 12 : 12, width: isActive ? 12 : 12, decoration: BoxDecoration( - color: isActive ? Color(0xffD02127) : Color(0xffD0D0D0), + color: isActive ? Color(0xff14384B) : Color(0xffD0D0D0), borderRadius: BorderRadius.all(Radius.circular(12))), ); } diff --git a/lib/pages/ToDoList/ToDo.dart b/lib/pages/ToDoList/ToDo.dart index c5d99320..fa916910 100644 --- a/lib/pages/ToDoList/ToDo.dart +++ b/lib/pages/ToDoList/ToDo.dart @@ -319,8 +319,8 @@ class _ToDoState extends State with SingleTickerProviderStateMixin { RatingBar( initialRating: appoList[index].actualDoctorRate.toDouble(), itemSize: 16.0, - glowColor: Color(0XFFD02127), - unratedColor: Color(0XFFD02127), + glowColor: Color(0xff14384B), + unratedColor: Color(0xff14384B), ignoreGestures: true, ratingWidget: RatingWidget( full: Icon( diff --git a/lib/pages/ToDoList/widgets/upcomingCard.dart b/lib/pages/ToDoList/widgets/upcomingCard.dart index fa3e4a39..cc95dc5b 100644 --- a/lib/pages/ToDoList/widgets/upcomingCard.dart +++ b/lib/pages/ToDoList/widgets/upcomingCard.dart @@ -133,8 +133,8 @@ class _TodoListCardState extends State { // RatingBar.readOnly( // initialRating: 4.5, // size: 16.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, diff --git a/lib/pages/feedback/send_feedback_page.dart b/lib/pages/feedback/send_feedback_page.dart index 40a2ced3..4799fcfc 100644 --- a/lib/pages/feedback/send_feedback_page.dart +++ b/lib/pages/feedback/send_feedback_page.dart @@ -345,7 +345,7 @@ class _SendFeedbackPageState extends State { }); } }, - color: Color(0xffD02127), + color: Color(0xff14384B), textColor: Colors.white, disabledColor: Color(0xffEAEAEA), ), diff --git a/lib/pages/insurance/insurance_approval_detail_screen.dart b/lib/pages/insurance/insurance_approval_detail_screen.dart index b17da0cf..cf214f34 100644 --- a/lib/pages/insurance/insurance_approval_detail_screen.dart +++ b/lib/pages/insurance/insurance_approval_detail_screen.dart @@ -46,7 +46,7 @@ class InsuranceApprovalDetail extends StatelessWidget { children: [ Text( insuranceApprovalModel.approvalStatusDescption!, - style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600, color: insuranceApprovalModel.status == 9 ? Color(0xff359846) : Color(0xffD02127), letterSpacing: -0.4, height: 18 / 10), + style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600, color: insuranceApprovalModel.status == 9 ? Color(0xff359846) : Color(0xff14384B), letterSpacing: -0.4, height: 18 / 10), ), Text( insuranceApprovalModel.doctorName!, diff --git a/lib/pages/insurance/insurance_approval_screen.dart b/lib/pages/insurance/insurance_approval_screen.dart index d19a16db..33559f4a 100644 --- a/lib/pages/insurance/insurance_approval_screen.dart +++ b/lib/pages/insurance/insurance_approval_screen.dart @@ -58,7 +58,7 @@ class _InsuranceApprovalState extends State { _patientStatusColor = Color(0xff2E303A); _patientStatusString = TranslationBase.of(context).liveCare.capitalizeFirstofEach; } else if (!model.insuranceApproval[index].isInOutPatient!) { - _patientStatusColor = Color(0xffD02127); + _patientStatusColor = Color(0xff14384B); _patientStatusString = TranslationBase.of(context).inPatient.capitalizeFirstofEach; } else { _patientStatusString = TranslationBase.of(context).outpatient.capitalizeFirstofEach; @@ -112,7 +112,7 @@ class _InsuranceApprovalState extends State { style: TextStyle( fontSize: 12, fontWeight: FontWeight.w600, - color: model.insuranceApproval[index].status == 9 ? Color(0xff359846) : Color(0xffD02127), + color: model.insuranceApproval[index].status == 9 ? Color(0xff359846) : Color(0xff14384B), letterSpacing: -0.4, height: 18 / 10), ), diff --git a/lib/pages/login/forgot-password.dart b/lib/pages/login/forgot-password.dart index f3ab307a..24ac7841 100644 --- a/lib/pages/login/forgot-password.dart +++ b/lib/pages/login/forgot-password.dart @@ -119,7 +119,7 @@ class _ForgotPassword extends State { style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white, letterSpacing: -0.48), ), style: TextButton.styleFrom( - backgroundColor: (mobileNo.length >= 9) == true ? Color(0xffD02127) : Color(0xff575757), + backgroundColor: (mobileNo.length >= 9) == true ? Color(0xff14384B) : Color(0xff575757), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(6), ), diff --git a/lib/pages/login/login-type.dart b/lib/pages/login/login-type.dart index a9e309bc..000b0f35 100644 --- a/lib/pages/login/login-type.dart +++ b/lib/pages/login/login-type.dart @@ -81,7 +81,7 @@ class LoginType extends StatelessWidget { style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white, letterSpacing: -0.48), ), style: TextButton.styleFrom( - backgroundColor: Color(0xffD02127), + backgroundColor: Color(0xff14384B), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(6), ), diff --git a/lib/pages/login/register-info.dart b/lib/pages/login/register-info.dart index c2c78182..fbb819ab 100644 --- a/lib/pages/login/register-info.dart +++ b/lib/pages/login/register-info.dart @@ -488,7 +488,7 @@ class _RegisterInfo extends State { // widget.changePageViewIndex!(0); // getPatientOccupationList(); locator().loginRegistration.registration_cancel(step: page == 1 ? 'personal info' : 'other details'); - }, textColor: Colors.white, color: Color(0xffD02127))), + }, textColor: Colors.white, color: Color(0xff14384B))), ), Expanded( child: Padding( diff --git a/lib/pages/login/register.dart b/lib/pages/login/register.dart index fdb04362..bfb8c711 100644 --- a/lib/pages/login/register.dart +++ b/lib/pages/login/register.dart @@ -175,7 +175,7 @@ class _Register extends State { child: DefaultButton(TranslationBase.of(context).cancel, () { Navigator.of(context).pop(); locator().loginRegistration.registration_cancel(step: 'enter details'); - }, textColor: Colors.white, color: Color(0xffD02127))), + }, textColor: Colors.white, color: Color(0xff14384B))), ), Expanded( child: Padding( diff --git a/lib/pages/medical/ask_doctor/request_type.dart b/lib/pages/medical/ask_doctor/request_type.dart index 2dece140..2d038b80 100644 --- a/lib/pages/medical/ask_doctor/request_type.dart +++ b/lib/pages/medical/ask_doctor/request_type.dart @@ -117,7 +117,7 @@ class _RequestTypePageState extends State { } }) }, - color: Color(0xffD02127), + color: Color(0xff14384B), textColor: Colors.white, disabledColor: Color(0xffEAEAEA), ), diff --git a/lib/pages/medical/balance/advance_payment_page.dart b/lib/pages/medical/balance/advance_payment_page.dart index 19e4551c..929dd32e 100644 --- a/lib/pages/medical/balance/advance_payment_page.dart +++ b/lib/pages/medical/balance/advance_payment_page.dart @@ -350,7 +350,7 @@ class _AdvancePaymentPageState extends State { }); projectViewModel.analytics.advancePayments.wallet_payment_details(); }, - color: Color(0xffD02127), + color: Color(0xff14384B), textColor: Colors.white, disabledColor: Color(0xffEAEAEA), ), diff --git a/lib/pages/medical/prescriptions/prescription_details_inp.dart b/lib/pages/medical/prescriptions/prescription_details_inp.dart index b446fed2..2742662b 100644 --- a/lib/pages/medical/prescriptions/prescription_details_inp.dart +++ b/lib/pages/medical/prescriptions/prescription_details_inp.dart @@ -206,7 +206,7 @@ class PrescriptionDetailsPageINP extends StatelessWidget { return; }, iconData: Icons.notifications_active, - color: Color(0xffD02127), + color: Color(0xff14384B), fontSize: 13.0, //textColor: Color(0xff2B353E), ), diff --git a/lib/pages/medical/prescriptions/prescription_details_page.dart b/lib/pages/medical/prescriptions/prescription_details_page.dart index 4ee85086..c5abb4aa 100644 --- a/lib/pages/medical/prescriptions/prescription_details_page.dart +++ b/lib/pages/medical/prescriptions/prescription_details_page.dart @@ -233,7 +233,7 @@ class _PrescriptionDetailsPageState extends State { } }, iconData: Icons.notifications_active, - color: Color(0xffD02127), + color: Color(0xff14384B), fontSize: 13.0, //textColor: Color(0xff2B353E), ), diff --git a/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart b/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart index ad47c841..97cd4293 100644 --- a/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart +++ b/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart @@ -37,7 +37,7 @@ class PrescriptionsHistoryDetailsPage extends StatelessWidget { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } return AppScaffold( isShowAppBar: true, diff --git a/lib/pages/medical/prescriptions/prescriptions_history_page.dart b/lib/pages/medical/prescriptions/prescriptions_history_page.dart index eb0a56b5..7cc1f611 100644 --- a/lib/pages/medical/prescriptions/prescriptions_history_page.dart +++ b/lib/pages/medical/prescriptions/prescriptions_history_page.dart @@ -49,7 +49,7 @@ class PrescriptionsHistoryPage extends StatelessWidget { _color = Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - _color = Color(0xffD02127); + _color = Color(0xff14384B); } return InkWell( diff --git a/lib/pages/medical/reports/inpatient_medical_reports_page.dart b/lib/pages/medical/reports/inpatient_medical_reports_page.dart index af3ee6d9..754dddb0 100644 --- a/lib/pages/medical/reports/inpatient_medical_reports_page.dart +++ b/lib/pages/medical/reports/inpatient_medical_reports_page.dart @@ -106,7 +106,7 @@ class _InPatientMedicalReportsState extends State { height: 22, child: Radio( value: _value, - activeColor: _value == _currentPage ? Color(0xffD02127) : Color(0xffE8E8E8), + activeColor: _value == _currentPage ? Color(0xff14384B) : Color(0xffE8E8E8), groupValue: _currentPage, onChanged: (index) { setState(() { diff --git a/lib/pages/medical/reports/monthly_reports.dart b/lib/pages/medical/reports/monthly_reports.dart index 4b59d7a0..580c6b52 100644 --- a/lib/pages/medical/reports/monthly_reports.dart +++ b/lib/pages/medical/reports/monthly_reports.dart @@ -91,7 +91,7 @@ class _MonthlyReportsPageState extends State { ), CustomSwitch( value: isSummary, - activeColor: Color(0xffD02127), + activeColor: Color(0xff14384B), inactiveColor: Color(0xff28323A).withOpacity(0.3), onChanged: () async { setState(() { @@ -215,7 +215,7 @@ class _MonthlyReportsPageState extends State { isAgree = !isAgree; }); }, - activeColor: Color(0xffD02127), + activeColor: Color(0xff14384B), ), Text( TranslationBase.of(context).iAgreeToTheTermsAndConditions, diff --git a/lib/pages/medical/reports/report_home_page.dart b/lib/pages/medical/reports/report_home_page.dart index f70f0793..d58d9753 100644 --- a/lib/pages/medical/reports/report_home_page.dart +++ b/lib/pages/medical/reports/report_home_page.dart @@ -324,7 +324,7 @@ class _HomeReportPageState extends State with SingleTickerProvid height: 22, child: Radio( value: _value, - activeColor: _value == _currentPage ? Color(0xffD02127) : Color(0xffE8E8E8), + activeColor: _value == _currentPage ? Color(0xff14384B) : Color(0xffE8E8E8), groupValue: _currentPage, onChanged: (index) { setState(() { diff --git a/lib/pages/packages_offers/OfferAndPackageDetailPage.dart b/lib/pages/packages_offers/OfferAndPackageDetailPage.dart index 14ddf937..de633f49 100644 --- a/lib/pages/packages_offers/OfferAndPackageDetailPage.dart +++ b/lib/pages/packages_offers/OfferAndPackageDetailPage.dart @@ -95,8 +95,8 @@ class OfferAndPackagesDetailState extends State { // initialRating: 4.5, // // todo ask haroon about rating value // size: 18.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, diff --git a/lib/pages/packages_offers/packages_orders_history.dart b/lib/pages/packages_offers/packages_orders_history.dart index ea9ba403..f517ffa8 100644 --- a/lib/pages/packages_offers/packages_orders_history.dart +++ b/lib/pages/packages_offers/packages_orders_history.dart @@ -91,7 +91,7 @@ class PackagesOrdersHistorySatate extends State{ } else if (status == 3) { //completed return Color(0xff359846); } else if (status == 4 || status == 6 || status == 7) { //cancel // Rejected - return Color(0xffD02127); + return Color(0xff14384B); } return Colors.transparent; } diff --git a/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart b/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart index 6bea9208..84b75e83 100644 --- a/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart +++ b/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart @@ -60,7 +60,7 @@ class _ProductNameAndPriceState extends State { height: 40, padding: EdgeInsets.all(4), decoration: BoxDecoration( - color: Color(0xffD02127), + color: Color(0xff14384B), // color: Colors.red[700] // borderRadius: BorderRadius.only(topLeft: Radius.circular(6)), ), @@ -145,7 +145,7 @@ class _ProductNameAndPriceState extends State { : Icons.favorite), color: !widget.isInWishList! ? Color(0xff2E303A) - : Color(0xffD02127), + : Color(0xff14384B), onPressed: () async { { if (widget.customerId != null) { @@ -172,7 +172,7 @@ class _ProductNameAndPriceState extends State { : Icons.favorite), color: !widget.isInWishList! ? Color(0xff2E303A) - : Color(0xffD02127), + : Color(0xff14384B), onPressed: () async { { if (widget.customerId != null) { @@ -292,8 +292,8 @@ class _ProductNameAndPriceState extends State { // initialRating: double.parse( // widget.item.approvedRatingSum.toString()), // size: 18.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, @@ -366,6 +366,6 @@ class _ProductNameAndPriceState extends State { if (widget.isStockAvailable) return Color(0xFF5AB145); else - return Color(0xFFD02127); + return Color(0xff14384B); } } diff --git a/lib/pages/pharmacies/widgets/ProductTileItem.dart b/lib/pages/pharmacies/widgets/ProductTileItem.dart index 9e303152..5289e2a1 100644 --- a/lib/pages/pharmacies/widgets/ProductTileItem.dart +++ b/lib/pages/pharmacies/widgets/ProductTileItem.dart @@ -277,8 +277,8 @@ class ProductTileItem extends StatelessWidget { // RatingBar.readOnly( // initialRating: item.approvedRatingSum.toDouble(), // size: 13.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, diff --git a/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart b/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart index 2b73a15a..927e0d2f 100644 --- a/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart +++ b/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart @@ -29,7 +29,7 @@ class ViewAllHomeWidget extends StatelessWidget { }, child: Texts( TranslationBase.of(context).viewAll, - color: Color(0xffD02127), + color: Color(0xff14384B), decoration: TextDecoration.underline, fontWeight: FontWeight.w600, fontSize: 12.0, diff --git a/lib/pages/settings/profile_setting.dart b/lib/pages/settings/profile_setting.dart index 911ab0e3..ade244dd 100644 --- a/lib/pages/settings/profile_setting.dart +++ b/lib/pages/settings/profile_setting.dart @@ -223,7 +223,7 @@ class _ProfileSettings extends State with TickerProviderStateMi // }, // child: Text( // TranslationBase.of(context).deleteAccount, - // style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, letterSpacing: -0.64, color: Color(0xffD02127), decoration: TextDecoration.underline), + // style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, letterSpacing: -0.64, color: Color(0xff14384B), decoration: TextDecoration.underline), // ), // ), mHeight(8), diff --git a/lib/uitl/utils.dart b/lib/uitl/utils.dart index 1b4e1470..dfbe532f 100644 --- a/lib/uitl/utils.dart +++ b/lib/uitl/utils.dart @@ -873,7 +873,7 @@ class Utils { flowChartText, maxLines: 1, minFontSize: 6, - style: TextStyle(decoration: TextDecoration.underline, fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xffD02127), letterSpacing: -0.48, height: 18 / 12), + style: TextStyle(decoration: TextDecoration.underline, fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xff14384B), letterSpacing: -0.48, height: 18 / 12), ), SizedBox(height: 12), if (!isLast) @@ -924,7 +924,7 @@ class Utils { isCapitable ? text.toLowerCase().capitalizeFirstofEach : text, maxLines: 1, minFontSize: 6, - style: TextStyle(decoration: TextDecoration.underline, fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xffD02127), letterSpacing: -0.48, height: 18 / 12), + style: TextStyle(decoration: TextDecoration.underline, fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xff14384B), letterSpacing: -0.48, height: 18 / 12), ), SizedBox(height: 10), if (!isLast) diff --git a/lib/widgets/data_display/medical/doctor_card.dart b/lib/widgets/data_display/medical/doctor_card.dart index bcc75e32..f0f5a70b 100644 --- a/lib/widgets/data_display/medical/doctor_card.dart +++ b/lib/widgets/data_display/medical/doctor_card.dart @@ -201,8 +201,8 @@ class DoctorCard extends StatelessWidget { // RatingBar.readOnly( // initialRating: rating, // size: 16.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, diff --git a/lib/widgets/offers_packages/PackagesOfferCard.dart b/lib/widgets/offers_packages/PackagesOfferCard.dart index cd59224a..3b889526 100644 --- a/lib/widgets/offers_packages/PackagesOfferCard.dart +++ b/lib/widgets/offers_packages/PackagesOfferCard.dart @@ -106,8 +106,8 @@ class PackagesItemCardState extends State { RatingBar( initialRating: 4.5, // todo ask haroon about parameter for rating // size: 18.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, @@ -182,8 +182,8 @@ class PackagesItemCardState extends State { // RatingBar.readOnly( // initialRating: 4.5, // size: 18.0, - // filledColor: Color(0XFFD02127), - // emptyColor: Color(0XFFD02127), + // filledColor: Color(0xff14384B), + // emptyColor: Color(0xff14384B), // isHalfAllowed: true, // halfFilledIcon: Icons.star_half, // filledIcon: Icons.star, diff --git a/lib/widgets/others/not_auh_page.dart b/lib/widgets/others/not_auh_page.dart index 9059ad44..f2bb332e 100644 --- a/lib/widgets/others/not_auh_page.dart +++ b/lib/widgets/others/not_auh_page.dart @@ -206,7 +206,7 @@ class _NotAutPageState extends State { // style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white, letterSpacing: -0.48), // ), // style: TextButton.styleFrom( - // backgroundColor: Color(0xffD02127), + // backgroundColor: Color(0xff14384B), // shape: RoundedRectangleBorder( // borderRadius: BorderRadius.circular(6), // ),