From 47642ecd4cc97e77d82e595e7811058fd2992877 Mon Sep 17 00:00:00 2001 From: tahaalam Date: Wed, 20 May 2026 15:09:49 +0300 Subject: [PATCH] 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'