|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:hmg_patient_app_new/core/app_assets.dart';
|
|
|
|
import 'package:hmg_patient_app_new/core/app_assets.dart';
|
|
|
|
@ -101,18 +100,12 @@ class DoctorProfilePage extends StatelessWidget {
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Column(
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Utils.buildSvgWithAssets(
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_rating_icon, width: 48.w, height: 48.h, fit: BoxFit.contain, applyThemeColor: false),
|
|
|
|
icon: AppAssets.doctor_profile_rating_icon,
|
|
|
|
|
|
|
|
width: 48.w,
|
|
|
|
|
|
|
|
height: 48.h,
|
|
|
|
|
|
|
|
fit: BoxFit.contain,
|
|
|
|
|
|
|
|
applyThemeColor: false
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
"Ratings".toText12(fontWeight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
"Ratings".toText12(fontWeight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
bookAppointmentsViewModel.doctorsProfileResponseModel.decimalDoctorRate
|
|
|
|
bookAppointmentsViewModel.doctorsProfileResponseModel.decimalDoctorRate
|
|
|
|
.toString()
|
|
|
|
.toString()
|
|
|
|
.toText16(isBold: true, color: AppColors.textColor, isUnderLine: true, decorationColor: AppColors.textColor),
|
|
|
|
.toText16(isBold: true, color: AppColors.textColor, isUnderLine: true, decorationColor: AppColors.textColor, fontFamily: "Poppins"),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).onPress(() {
|
|
|
|
).onPress(() {
|
|
|
|
bookAppointmentsViewModel.getDoctorRatingDetails();
|
|
|
|
bookAppointmentsViewModel.getDoctorRatingDetails();
|
|
|
|
@ -128,18 +121,12 @@ class DoctorProfilePage extends StatelessWidget {
|
|
|
|
SizedBox(width: 36.w),
|
|
|
|
SizedBox(width: 36.w),
|
|
|
|
Column(
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Utils.buildSvgWithAssets(
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_reviews_icon, width: 48.w, height: 48.h, fit: BoxFit.contain, applyThemeColor: false),
|
|
|
|
icon: AppAssets.doctor_profile_reviews_icon,
|
|
|
|
|
|
|
|
width: 48.w,
|
|
|
|
|
|
|
|
height: 48.h,
|
|
|
|
|
|
|
|
fit: BoxFit.contain,
|
|
|
|
|
|
|
|
applyThemeColor: false
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
"Reviews".toText12(fontWeight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
"Reviews".toText12(fontWeight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
bookAppointmentsViewModel.doctorsProfileResponseModel.noOfPatientsRate
|
|
|
|
bookAppointmentsViewModel.doctorsProfileResponseModel.noOfPatientsRate
|
|
|
|
.toString()
|
|
|
|
.toString()
|
|
|
|
.toText16(isBold: true, color: AppColors.textColor, isUnderLine: true, decorationColor: AppColors.textColor),
|
|
|
|
.toText16(isBold: true, color: AppColors.textColor, isUnderLine: true, decorationColor: AppColors.textColor, fontFamily: "Poppins"),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).onPress(() {
|
|
|
|
).onPress(() {
|
|
|
|
bookAppointmentsViewModel.getDoctorRatingDetails();
|
|
|
|
bookAppointmentsViewModel.getDoctorRatingDetails();
|
|
|
|
|