minor changes

faiz_dev
faizatflutter 1 week ago
parent 91e3e9387e
commit c84564dafd

@ -2,15 +2,12 @@ import 'dart:async';
import 'package:flutter/foundation.dart' show ChangeNotifier;
import 'package:flutter/material.dart';
import 'package:google_maps_flutter_platform_interface/src/types/camera.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart' as GMSMapServices;
import 'package:hmg_patient_app_new/features/location/GeocodeResponse.dart';
import 'package:hmg_patient_app_new/features/location/PlaceDetails.dart';
import 'package:hmg_patient_app_new/features/location/location_repo.dart';
import 'package:hmg_patient_app_new/services/error_handler_service.dart';
import 'package:huawei_map/huawei_map.dart' as HMSCameraServices;
import 'package:google_maps_flutter/google_maps_flutter.dart' as GMSMapServices;
import 'PlacePrediction.dart';
@ -75,7 +72,6 @@ class LocationViewModel extends ChangeNotifier {
handleGMSMapCameraMoved(GMSMapServices.CameraPosition value) {
mapCapturedLocation = Location(lat: value.target.latitude, lng: value.target.longitude);
}
handleHMSMapCameraMoved(HMSCameraServices.CameraPosition value) {
@ -111,6 +107,4 @@ class LocationViewModel extends ChangeNotifier {
selectedPrediction = placePrediction;
await getPlaceDetails(placePrediction.placeID);
}
}

@ -5,7 +5,6 @@ import 'package:flutter/material.dart';
import 'package:hmg_patient_app_new/core/app_state.dart';
import 'package:hmg_patient_app_new/core/dependencies.dart';
import 'package:hmg_patient_app_new/core/utils/size_utils.dart';
import 'package:hmg_patient_app_new/core/utils/utils.dart';
import 'package:hmg_patient_app_new/extensions/string_extensions.dart';
import 'package:hmg_patient_app_new/extensions/widget_extensions.dart';
import 'package:hmg_patient_app_new/features/hmg_services/hmg_services_view_model.dart';
@ -213,7 +212,7 @@ class _HhcProceduresPageState extends State<HhcProceduresPage> {
margin: EdgeInsets.symmetric(horizontal: 16.w),
padding: EdgeInsets.all(16.w),
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.primaryRedColor.withValues(alpha: 0.1),
color: AppColors.greyLightColor,
borderRadius: 16.r,
),
child: Row(
@ -232,25 +231,6 @@ class _HhcProceduresPageState extends State<HhcProceduresPage> {
),
],
),
Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
"Total Amount".needTranslation.toText12(
color: AppColors.textColorLight,
fontWeight: FontWeight.w600,
),
Utils.getPaymentAmountWithSymbol(
viewModel.getHhcSelectedServicesTotal().toStringAsFixed(2).toText16(
isBold: true,
weight: FontWeight.bold,
color: AppColors.primaryRedColor,
),
AppColors.primaryRedColor,
14,
isSaudiCurrency: true,
),
],
),
],
),
),

Loading…
Cancel
Save