From 9e5c9f9b4c75cab4e64bc8fb48747464dc200a1a Mon Sep 17 00:00:00 2001 From: Sultan khan Date: Tue, 14 Apr 2026 09:37:55 +0300 Subject: [PATCH] no message --- .../hmg_services/services_page.dart | 144 +++++++++--------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/lib/presentation/hmg_services/services_page.dart b/lib/presentation/hmg_services/services_page.dart index c92d47e5..4f648c96 100644 --- a/lib/presentation/hmg_services/services_page.dart +++ b/lib/presentation/hmg_services/services_page.dart @@ -378,8 +378,8 @@ class _ServicesPageState extends State { void initState() { // TODO: implement initState super.initState(); - weatherVM = getIt(); - weatherVM.fetchCityInfoList(); + //weatherVM = getIt(); + // weatherVM.fetchCityInfoList(); } @@ -398,76 +398,76 @@ class _ServicesPageState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Row( - children: [ - Flexible( - child: Container( - padding: EdgeInsets.all(16.w), - decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.r, hasShadow: false), - child: Column( - children: [ - Row( - children: [ - Utils.buildSvgWithAssets(icon: "assets/images/svg/cloudyweather.svg", width: 64.w, height: 64.w).onPress(() { - // locationUtils?.getCurrentLocation(); - print(getIt.get().userLat); - print(getIt.get().userLong); - }), - SizedBox(width: 12.w), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - "August 19, 2025 - Tuesday, 11:25 ".toText12(fontWeight: FontWeight.w500, color: AppColors.greyTextColor), - SizedBox( - height: 4.w, - ), - "Cloudy 38oC".toText16(isBold: true, weight: FontWeight.w600), - SizedBox( - height: 4.w, - ), - "Health tips based on current weather".toText12(color: AppColors.greyTextColor, fontWeight: FontWeight.w500) - ], - ), - ], - ), - SizedBox(height: 16.w), - Container( - padding: EdgeInsets.all(16.w), - decoration: RoundedRectangleBorder().toSmoothCornerDecoration( - color: AppColors.lightGrayBGColor, - borderRadius: 10.r, - hasShadow: false, - ), - child: Row( - crossAxisAlignment: CrossAxisAlignment.center, - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Row( - children: [ - Utils.buildSvgWithAssets(icon: "assets/images/svg/morning.svg", width: 24.w, height: 24.h), - SizedBox(width: 4.w), - DateTime.now().toLocal().toString().substring(11, 16).toText14(isBold: true), - ], - ), - SizedBox(width: 25.w), - DateTime.now().toLocal().toString().substring(11, 16).toText14(isBold: true), - SizedBox(width: 25.w), - Row( - children: [ - Utils.buildSvgWithAssets(icon: "assets/images/svg/evening.svg", width: 24.w, height: 24.h), - SizedBox(width: 4.w), - DateTime.now().toLocal().toString().substring(11, 16).toText14(isBold: true), - ], - ), - ], - ).expanded, - ).paddingSymmetrical(0.w, 8.w) - ], - ), - ), - ) - ], - ).paddingSymmetrical(24.w, 0.w), + // Row( + // children: [ + // Flexible( + // child: Container( + // padding: EdgeInsets.all(16.w), + // decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.r, hasShadow: false), + // child: Column( + // children: [ + // Row( + // children: [ + // Utils.buildSvgWithAssets(icon: "assets/images/svg/cloudyweather.svg", width: 64.w, height: 64.w).onPress(() { + // // locationUtils?.getCurrentLocation(); + // print(getIt.get().userLat); + // print(getIt.get().userLong); + // }), + // SizedBox(width: 12.w), + // Column( + // crossAxisAlignment: CrossAxisAlignment.start, + // children: [ + // "August 19, 2025 - Tuesday, 11:25 ".toText12(fontWeight: FontWeight.w500, color: AppColors.greyTextColor), + // SizedBox( + // height: 4.w, + // ), + // "Cloudy 38oC".toText16(isBold: true, weight: FontWeight.w600), + // SizedBox( + // height: 4.w, + // ), + // "Health tips based on current weather".toText12(color: AppColors.greyTextColor, fontWeight: FontWeight.w500) + // ], + // ), + // ], + // ), + // SizedBox(height: 16.w), + // Container( + // padding: EdgeInsets.all(16.w), + // decoration: RoundedRectangleBorder().toSmoothCornerDecoration( + // color: AppColors.lightGrayBGColor, + // borderRadius: 10.r, + // hasShadow: false, + // ), + // child: Row( + // crossAxisAlignment: CrossAxisAlignment.center, + // mainAxisAlignment: MainAxisAlignment.spaceBetween, + // children: [ + // Row( + // children: [ + // Utils.buildSvgWithAssets(icon: "assets/images/svg/morning.svg", width: 24.w, height: 24.h), + // SizedBox(width: 4.w), + // DateTime.now().toLocal().toString().substring(11, 16).toText14(isBold: true), + // ], + // ), + // SizedBox(width: 25.w), + // DateTime.now().toLocal().toString().substring(11, 16).toText14(isBold: true), + // SizedBox(width: 25.w), + // Row( + // children: [ + // Utils.buildSvgWithAssets(icon: "assets/images/svg/evening.svg", width: 24.w, height: 24.h), + // SizedBox(width: 4.w), + // DateTime.now().toLocal().toString().substring(11, 16).toText14(isBold: true), + // ], + // ), + // ], + // ).expanded, + // ).paddingSymmetrical(0.w, 8.w) + // ], + // ), + // ), + // ) + // ], + // ).paddingSymmetrical(24.w, 0.w), SizedBox(height: 16.h), LocaleKeys.medicalAndCareServices.tr().toText18(isBold: true).paddingSymmetrical(24.w, 0), SizedBox(height: 16.h), -- 2.30.2