widgets removed and calls are removed

king_kahild_app_updated_3.32
taha.alam 2 years ago
parent 6139a38f37
commit 0f592c8a92

@ -497,11 +497,11 @@ const Map localizedValues = {
"LoginRegister": {"en": "Login", "ar": "دخول"}, "LoginRegister": {"en": "Login", "ar": "دخول"},
"OrderLog": {"en": "Order Log", "ar": " سجل الطلبات"}, "OrderLog": {"en": "Order Log", "ar": " سجل الطلبات"},
"info-lab": { "info-lab": {
"en": "This service allows you to view the results of all laboratory tests performed in Al Habib Medical Group as well as sending the report via e-mail.", "en": "This service allows you to view the results of all laboratory tests performed in King Khalid University as well as sending the report via e-mail.",
"ar": "خدمة نتائج المختبر: هذه الخدمة تمكنك من الاطلاع على نتائج جميع الفحوصات المخبرية التي تمت في مجموعة الحبيب الطبية." "ar": "خدمة نتائج المختبر: هذه الخدمة تمكنك من الاطلاع على نتائج جميع الفحوصات المخبرية التي تمت في مجموعة الحبيب الطبية."
}, },
"info-radiology": { "info-radiology": {
"en": "This service allows you to view the reports and photos of radiology in Al Habib Medical Group as well as send the report by e-mail.", "en": "This service allows you to view the reports and photos of radiology in King Khalid University as well as send the report by e-mail.",
"ar": "خدمة الاشعة: هذه الخدمة تمكنك من الاطلاع على تقارير وصور الاشعة التي تمت في مجموعة الحبيب الطبية وكذلك ارسال التقرير عن طريق الايميل." "ar": "خدمة الاشعة: هذه الخدمة تمكنك من الاطلاع على تقارير وصور الاشعة التي تمت في مجموعة الحبيب الطبية وكذلك ارسال التقرير عن طريق الايميل."
}, },
"noReviewsAvailable": {"en": "No Reviews Available", "ar": "لا يوجد تقييمات"}, "noReviewsAvailable": {"en": "No Reviews Available", "ar": "لا يوجد تقييمات"},
@ -708,11 +708,11 @@ const Map localizedValues = {
"ar": ["الاطلاع على معلومات الطبيب ومؤهلاته.", "الاطلاع على جدول الطبيب.", "الاطلاع على تفاصيل المواعيد التي تمت مع الطبيب.", "حجز موعد مع الطبيب."] "ar": ["الاطلاع على معلومات الطبيب ومؤهلاته.", "الاطلاع على جدول الطبيب.", "الاطلاع على تفاصيل المواعيد التي تمت مع الطبيب.", "حجز موعد مع الطبيب."]
}, },
"info-my-doctor": { "info-my-doctor": {
"en": "This service allows you to see all the doctors you have visited in Al Habib Medical Group, and through this service:", "en": "This service allows you to see all the doctors you have visited in King Khalid University, and through this service:",
"ar": "خدمة اطبائي: هذه الخدمة تمكنك من الاطلاع على جميع الاطباء الذين قمت بزيارتهم في مجموعة الحبيب الطبية, كما تستطيع من خلال هذه الخدمة:" "ar": "خدمة اطبائي: هذه الخدمة تمكنك من الاطلاع على جميع الاطباء الذين قمت بزيارتهم في مجموعة الحبيب الطبية, كما تستطيع من خلال هذه الخدمة:"
}, },
"info-prescriptions": { "info-prescriptions": {
"en": "This service allows you to view all the medical prescriptions issued by Al Habib Medical Group, and through this service, you can:", "en": "This service allows you to view all the medical prescriptions issued by King Khalid University, and through this service, you can:",
"ar": "خدمة الوصفات الطبية: هذه الخدمة تمكنك من الاطلاع على جميع الوصفات الطبية التي تم اصدارها في مجموعة الحبيب الطبية، كما تستطيع من خلال هذه الخدمة:" "ar": "خدمة الوصفات الطبية: هذه الخدمة تمكنك من الاطلاع على جميع الوصفات الطبية التي تم اصدارها في مجموعة الحبيب الطبية، كما تستطيع من خلال هذه الخدمة:"
}, },
"info-my-prescription-points": { "info-my-prescription-points": {
@ -736,7 +736,7 @@ const Map localizedValues = {
] ]
}, },
"info-insurance-cards": { "info-insurance-cards": {
"en": "This service allows you to view all the insurance cards that recorded during your visits to Al Habib Medical Group in addition to:", "en": "This service allows you to view all the insurance cards that recorded during your visits to King Khalid University in addition to:",
"ar": "خدمة بطاقات التامين: هذه الخدمة تمكنك من الاطلاع على جميع بطاقات التامين والتي تم تسجيلها اثناء زياراتك لمجموعة الحبيب الطبية بالاضافة الى:" "ar": "خدمة بطاقات التامين: هذه الخدمة تمكنك من الاطلاع على جميع بطاقات التامين والتي تم تسجيلها اثناء زياراتك لمجموعة الحبيب الطبية بالاضافة الى:"
}, },
"info-insurance-cards-points": { "info-insurance-cards-points": {
@ -758,13 +758,13 @@ const Map localizedValues = {
] ]
}, },
"info-allergies": { "info-allergies": {
"en": "This service allows you to view all types of allergies recorded during your visits to Al Habib Medical Group.", "en": "This service allows you to view all types of allergies recorded during your visits to King Khalid University.",
"ar": "خدمة الحساسية: هذه الخدمة تمكنك من الاطلاع على جميع انواع الحساسية التي تم تسجيلها خلال زياراتك في مجموعة الحبيب الطبية." "ar": "خدمة الحساسية: هذه الخدمة تمكنك من الاطلاع على جميع انواع الحساسية التي تم تسجيلها خلال زياراتك في لجامعة الملك خالد."
}, },
"sick-leaves": {"en": "Sick Leaves", "ar": "الاجازات المرضية"}, "sick-leaves": {"en": "Sick Leaves", "ar": "الاجازات المرضية"},
"info-sick-leaves": { "info-sick-leaves": {
"en": "This service allows you to view all sick leaves that were taken in Al Habib Medical Group in addition to:", "en": "This service allows you to view all sick leaves that were taken in King Khalid University in addition to:",
"ar": "الاجازات المرضية: هذه الخدمة تمكنك من الاطلاع على جميع الاجازات المرضية والتي تم اصدارها في مجموعة الحبيب الطبية بالاضافة الى:" "ar": "الاجازات المرضية: هذه الخدمة تمكنك من الاطلاع على جميع الاجازات المرضية والتي تم اصدارها في لجامعة الملك خالد بالاضافة الى:"
}, },
"info-sick-leave-points": { "info-sick-leave-points": {
"en": [ "en": [
@ -923,13 +923,13 @@ const Map localizedValues = {
"خدمة المؤشرات الحيوية: هذه الخدمة تمكنك من الاطلاع على جميع المؤشرات الحيوية على سبيل المثال (الطول، الوزن، مؤشر كتلة الجسم، معدل نبضات القلب الخ.) التي تمت في مجموعة الحبيب الطبية وكذلك رسوم بيانية على مستوى المؤشر." "خدمة المؤشرات الحيوية: هذه الخدمة تمكنك من الاطلاع على جميع المؤشرات الحيوية على سبيل المثال (الطول، الوزن، مؤشر كتلة الجسم، معدل نبضات القلب الخ.) التي تمت في مجموعة الحبيب الطبية وكذلك رسوم بيانية على مستوى المؤشر."
}, },
"info-advance-payment": { "info-advance-payment": {
"en": "This service designed so that you can deposit an amount in advance either in your account or in someone else's account with Al Habib Medical Group.", "en": "This service designed so that you can deposit an amount in advance either in your account or in someone else's account with King Khalid University.",
"ar": "تم تصميم هذه الخدمة حتى تتمكن من دفع مبلغ مقدما او تحت الحساب سواء في حسابك او في حساب شخص اخر لدى مجموعة الحبيب الطبية." "ar": "تم تصميم هذه الخدمة حتى تتمكن من دفع مبلغ مقدما او تحت الحساب سواء في حسابك او في حساب شخص اخر لدى لجامعة الملك خالد."
}, },
"info-my-balance": {"en": "This service allows you to check your balance in all branchs", "ar": "هذه الخدمه تتيح لك الاطلاع رصيدك في كل الفروع"}, "info-my-balance": {"en": "This service allows you to check your balance in all branchs", "ar": "هذه الخدمه تتيح لك الاطلاع رصيدك في كل الفروع"},
"er-contant": { "er-contant": {
"en": "This service displays nearest branch among all the branches of Al Habib Medical Group based on your current location.", "en": "This service displays nearest branch among all the branches of King Khalid University based on your current location.",
"ar": "تعرض هذه الخدمة أقرب فرع من بين جميع فروع مجموعة الحبيب الطبية بناءً على موقعك الحالي." "ar": "تعرض هذه الخدمة أقرب فرع من بين جميع فروع لجامعة الملك خالد بناءً على موقعك الحالي."
}, },
"er": {"en": "ER", "ar": "الطوارىء"}, "er": {"en": "ER", "ar": "الطوارىء"},
"transportation-Service": {"en": "Ambulance Request", "ar": "خدمات النقل الاسعافي"}, "transportation-Service": {"en": "Ambulance Request", "ar": "خدمات النقل الاسعافي"},
@ -980,8 +980,8 @@ const Map localizedValues = {
"transport-method": {"en": "Transportation Method", "ar": "طريقة النقل"}, "transport-method": {"en": "Transportation Method", "ar": "طريقة النقل"},
"directions": {"en": "Directions", "ar": "الاتجاهات"}, "directions": {"en": "Directions", "ar": "الاتجاهات"},
"info-my-appointments": { "info-my-appointments": {
"en": "This service allows you to see all the appointment you have visited in Al Habib Medical Group, and through this service:", "en": "This service allows you to see all the appointment you have visited in King Khalid University, and through this service:",
"ar": "خدمة مواعيدي: هذه الخدمة تمكنك من الاطلاع على جميع المواعيد التي قمت بزيارتهم في مجموعة الحبيب الطبية, كما تستطيع من خلال هذه الخدمة:" "ar": "خدمة مواعيدي: هذه الخدمة تمكنك من الاطلاع على جميع المواعيد التي قمت بزيارتهم في لجامعة الملك خالد, كما تستطيع من خلال هذه الخدمة:"
}, },
"info-todo": { "info-todo": {
"en": "This service is designed to enable you to have a quick link to the list of tasks that need to be done", "en": "This service is designed to enable you to have a quick link to the list of tasks that need to be done",
@ -1091,8 +1091,8 @@ const Map localizedValues = {
"attach-insurace-image": {"en": "Attach insurance card image", "ar": "إرفاق صورة بطاقة التأمين"}, "attach-insurace-image": {"en": "Attach insurance card image", "ar": "إرفاق صورة بطاقة التأمين"},
"upload-without-image": {"en": "You can still submit, if you don't have Insurance Image", "ar": "لا يزال بإمكانك الإرسال ، إذا لم يكن لديك صورة تأمين"}, "upload-without-image": {"en": "You can still submit, if you don't have Insurance Image", "ar": "لا يزال بإمكانك الإرسال ، إذا لم يكن لديك صورة تأمين"},
"info-insur-cards": { "info-insur-cards": {
"en": "This service allows you to view all the insurance cards that recorded during your visits to Al Habib Medical Group in addition to:", "en": "This service allows you to view all the insurance cards that recorded during your visits to King Khalid University in addition to:",
"ar": "خدمة بطاقات التامين: هذه الخدمة تمكنك من الاطلاع على جميع بطاقات التامين والتي تم تسجيلها اثناء زياراتك لمجموعة الحبيب الطبية بالاضافة الى:" "ar": "خدمة بطاقات التامين: هذه الخدمة تمكنك من الاطلاع على جميع بطاقات التامين والتي تم تسجيلها اثناء زياراتك لجامعة الملك خالد بالاضافة الى:"
}, },
"scan-now": {"en": "If you have a card/Document Scan now", "ar": "إذا كانت لديك بطاقة / مستند ارفقها الان"}, "scan-now": {"en": "If you have a card/Document Scan now", "ar": "إذا كانت لديك بطاقة / مستند ارفقها الان"},
"liveCare": {"en": "Live Care", "ar": "لايف كير"}, "liveCare": {"en": "Live Care", "ar": "لايف كير"},
@ -1484,7 +1484,7 @@ const Map localizedValues = {
"ar": " خدمة قياسات النظر: هذه الخدمة تمكنك من الاطلاع على جميع قياسات النظر والعدسات والنظارات التي تمت في مجموعة الحبيب الطبية." "ar": " خدمة قياسات النظر: هذه الخدمة تمكنك من الاطلاع على جميع قياسات النظر والعدسات والنظارات التي تمت في مجموعة الحبيب الطبية."
}, },
"info-vaccines": { "info-vaccines": {
"en": "This service allows you to view all the vaccinations that were taken in Al Habib Medical Group.", "en": "This service allows you to view all the vaccinations that were taken in King Khalid University.",
"ar": "خدمة تطعيماتي: هذه الخدمة تمكنك من الاطلاع على جميع التطعيمات التي تمت في مجموعة الحبيب الطبية." "ar": "خدمة تطعيماتي: هذه الخدمة تمكنك من الاطلاع على جميع التطعيمات التي تمت في مجموعة الحبيب الطبية."
}, },
"info-trackers": { "info-trackers": {

@ -1,3 +1,4 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart';
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart';
@ -6,6 +7,7 @@ import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart';
import 'package:diplomaticquarterapp/models/Appointments/DoctorRateDetails.dart'; import 'package:diplomaticquarterapp/models/Appointments/DoctorRateDetails.dart';
import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart';
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart';
import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart';
import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart';
import 'package:diplomaticquarterapp/models/header_model.dart'; import 'package:diplomaticquarterapp/models/header_model.dart';
import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart'; import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart';
@ -13,6 +15,7 @@ import 'package:diplomaticquarterapp/pages/BookAppointment/doctor_post_pre_image
import 'package:diplomaticquarterapp/pages/MyAppointments/SchedulePage.dart'; import 'package:diplomaticquarterapp/pages/MyAppointments/SchedulePage.dart';
import 'package:diplomaticquarterapp/routes.dart'; import 'package:diplomaticquarterapp/routes.dart';
import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart';
import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart';
import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart';
import 'package:diplomaticquarterapp/theme/colors.dart'; import 'package:diplomaticquarterapp/theme/colors.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
@ -54,6 +57,7 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
bool showFooterButton = false; bool showFooterButton = false;
var event = RobotProvider(); var event = RobotProvider();
dynamic doctorSchedule; dynamic doctorSchedule;
final authService = new AuthProvider();
AppSharedPreferences sharedPref = AppSharedPreferences(); AppSharedPreferences sharedPref = AppSharedPreferences();
List<DoctorRateDetails> doctorDetailsList = []; List<DoctorRateDetails> doctorDetailsList = [];
@ -95,7 +99,7 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
minWidth: MediaQuery.of(context).size.width * 0.7, minWidth: MediaQuery.of(context).size.width * 0.7,
height: 40.0, height: 40.0,
child: CustomTextButton( child: CustomTextButton(
backgroundColor: CustomColors.accentColor, backgroundColor: CustomColors.primaryColor,
elevation: 0, elevation: 0,
onPressed: goToBookConfirm, onPressed: goToBookConfirm,
child: Text(TranslationBase.of(context).reviewAppointment, style: TextStyle(fontSize: 16.0, letterSpacing: -0.48, color: Colors.white, fontWeight: FontWeight.w600)), child: Text(TranslationBase.of(context).reviewAppointment, style: TextStyle(fontSize: 16.0, letterSpacing: -0.48, color: Colors.white, fontWeight: FontWeight.w600)),
@ -153,7 +157,7 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
buttonTitle: TranslationBase.of(context).schedule, buttonTitle: TranslationBase.of(context).schedule,
), ),
mDivider(Colors.grey[300]!), mDivider(Colors.grey[300]!),
if (widget.docProfileList.isDoctorHasPrePostImages == true) Container(height: 50, alignment: Alignment.center, child: prePostImagesButton(context)), // if (widget.docProfileList.isDoctorHasPrePostImages == true) Container(height: 50, alignment: Alignment.center, child: prePostImagesButton(context)),
TabBar( TabBar(
onTap: (index) { onTap: (index) {
setState(() { setState(() {
@ -576,7 +580,23 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
if (data != null) { if (data != null) {
Navigator.of(context).pushNamed(CONFIRM_LOGIN); Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else { } else {
Navigator.of(context).pushNamed(LOGIN_TYPE); GifLoaderDialogUtils.showMyDialog(context);
authService.selectDeviceImei(DEVICE_TOKEN).then((SelectDeviceIMEIRES? value) {
GifLoaderDialogUtils.hideDialog(context);
if (value != null) {
sharedPref.setObject(IMEI_USER_DATA, value);
Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else {
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
}
}).catchError((err) {
GifLoaderDialogUtils.hideDialog(context);
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
});
} }
} }

@ -47,9 +47,6 @@ class SearchResults extends StatelessWidget {
}, },
itemBuilder: (context, index) { itemBuilder: (context, index) {
return AppExpandableNotifier( return AppExpandableNotifier(
title: (patientDoctorAppointmentListHospital[index].distanceInKMs != "0")
? patientDoctorAppointmentListHospital[index].filterName! + " - " + patientDoctorAppointmentListHospital[index].distanceInKMs! + " " + TranslationBase.of(context).km
: patientDoctorAppointmentListHospital[index].filterName,
isTitleSingleLine: false, isTitleSingleLine: false,
isExpand: patientDoctorAppointmentListHospital.length == 1 ? true : false, isExpand: patientDoctorAppointmentListHospital.length == 1 ? true : false,
bodyWidget: ListView.separated( bodyWidget: ListView.separated(

@ -192,27 +192,28 @@ class _SearchByClinicState extends State<SearchByClinic> {
), ),
], ],
), ),
Padding( mHeight(16),
padding: const EdgeInsets.only(left: 6, right: 6, top: 16), // Padding(
child: Row( // padding: const EdgeInsets.only(left: 6, right: 6, top: 16),
children: <Widget>[ // child: Row(
Checkbox( // children: <Widget>[
activeColor: CustomColors.accentColor, // Checkbox(
value: nearestAppo, // activeColor: CustomColors.accentColor,
onChanged: (bool? value) { // value: nearestAppo,
setState(() { // onChanged: (bool? value) {
nearestAppo = value!; // setState(() {
if (nearestAppo) // nearestAppo = value!;
getProjectsList(); // if (nearestAppo)
else // getProjectsList();
isProjectLoaded = false; // else
}); // isProjectLoaded = false;
}, // });
), // },
Text(TranslationBase.of(context).nearestAppo, style: TextStyle(fontSize: 14.0, letterSpacing: -0.56)), // ),
], // Text(TranslationBase.of(context).nearestAppo, style: TextStyle(fontSize: 14.0, letterSpacing: -0.56)),
), // ],
), // ),
// ),
widget.clnicIds != null && widget.clnicIds!.length > 1 && isLoaded == true widget.clnicIds != null && widget.clnicIds!.length > 1 && isLoaded == true
? Column( ? Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
@ -547,7 +548,7 @@ class _SearchByClinicState extends State<SearchByClinic> {
} else { } else {
isProjectLoaded = false; isProjectLoaded = false;
} }
locationUtils.getCurrentLocation(); // locationUtils.getCurrentLocation();
}) })
.catchError((err) {}) .catchError((err) {})
.catchError((err) { .catchError((err) {

@ -229,7 +229,7 @@ class _AppointmentDetailsState extends State<AppointmentDetails> with SingleTick
cancelFunction: () => {}); cancelFunction: () => {});
dialog.showAlertDialog(context); dialog.showAlertDialog(context);
}, },
color: CustomColors.accentColor, color: CustomColors.primaryColor,
textColor: CustomColors.white, textColor: CustomColors.white,
), ),
), ),
@ -261,7 +261,7 @@ class _AppointmentDetailsState extends State<AppointmentDetails> with SingleTick
cancelFunction: () => {}); cancelFunction: () => {});
dialog.showAlertDialog(context); dialog.showAlertDialog(context);
}, },
color: CustomColors.accentColor, color: CustomColors.primaryColor,
// textColor: Color(0xff000000), // textColor: Color(0xff000000),
), ),
), ),

@ -106,16 +106,16 @@ class _MyAppointmentsState extends State<MyAppointments> with SingleTickerProvid
description: TranslationBase.of(context).infoMyAppointments, description: TranslationBase.of(context).infoMyAppointments,
body: Container( body: Container(
child: Column(children: [ child: Column(children: [
Row( // Row(
children: [ // children: [
MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, filterType!, () { // MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, filterType!, () {
setFilterType(FilterType.Clinic); // setFilterType(FilterType.Clinic);
}), // }),
MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, filterType!, () { // MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, filterType!, () {
setFilterType(FilterType.Hospital); // setFilterType(FilterType.Hospital);
}), // }),
], // ],
), // ),
SizedBox(height: 20), SizedBox(height: 20),
Padding( Padding(
padding: EdgeInsets.only(left: 21, right: 21), padding: EdgeInsets.only(left: 21, right: 21),

@ -21,11 +21,5 @@ class ArrivedButtons {
"icon": 'lab_result.svg', "icon": 'lab_result.svg',
"caller": "labResult", "caller": "labResult",
}, },
{
"title": TranslationBase.of(AppGlobal.context).askDoctor,
"subtitle": TranslationBase.of(AppGlobal.context).service,
"icon": 'ask_doctor.svg',
"caller": "askDoc",
},
]; ];
} }

@ -21,12 +21,12 @@ class BookedButtons {
// "icon": "assets/images/new-design/cancel_icon.png", // "icon": "assets/images/new-design/cancel_icon.png",
// "caller": "onCancelAppointment", // "caller": "onCancelAppointment",
// }, // },
{ // {
"title": TranslationBase.of(AppGlobal.context).raise, // "title": TranslationBase.of(AppGlobal.context).raise,
"subtitle": TranslationBase.of(AppGlobal.context).complaint, // "subtitle": TranslationBase.of(AppGlobal.context).complaint,
"icon": "raise_comp.svg", // "icon": "raise_comp.svg",
"caller": "insertComplaint", // "caller": "insertComplaint",
}, // },
{ {
"title": TranslationBase.of(AppGlobal.context).add, "title": TranslationBase.of(AppGlobal.context).add,
"subtitle": TranslationBase.of(AppGlobal.context).reminder, "subtitle": TranslationBase.of(AppGlobal.context).reminder,
@ -39,6 +39,6 @@ class BookedButtons {
"icon": "hosp_location.svg", "icon": "hosp_location.svg",
"caller": "navigateToProject", "caller": "navigateToProject",
}, },
{"title": TranslationBase.of(AppGlobal.context).online, "subtitle": TranslationBase.of(AppGlobal.context).payment, "icon": "online_payment.svg", "caller": "goToTodoList"} // {"title": TranslationBase.of(AppGlobal.context).online, "subtitle": TranslationBase.of(AppGlobal.context).payment, "icon": "online_payment.svg", "caller": "goToTodoList"}
]; ];
} }

@ -397,7 +397,23 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
if (data != null) { if (data != null) {
Navigator.of(context).pushNamed(CONFIRM_LOGIN); Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else { } else {
Navigator.of(context).pushNamed(LOGIN_TYPE); GifLoaderDialogUtils.showMyDialog(context);
authService.selectDeviceImei(DEVICE_TOKEN).then((SelectDeviceIMEIRES? value) {
GifLoaderDialogUtils.hideDialog(context);
if (value != null) {
sharedPref.setObject(IMEI_USER_DATA, value);
Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else {
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
}
}).catchError((err) {
GifLoaderDialogUtils.hideDialog(context);
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
});
} }
// AppGlobal.context = context; // AppGlobal.context = context;
// GifLoaderDialogUtils.showMyDialog(context); // GifLoaderDialogUtils.showMyDialog(context);
@ -552,34 +568,34 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
pageController.jumpToPage(0); pageController.jumpToPage(0);
}, },
), ),
projectViewModel.isLogin && // projectViewModel.isLogin &&
model.notificationsCount != null && // model.notificationsCount != null &&
!projectViewModel.isLoginChild // !projectViewModel.isLoginChild
? Positioned( // ? Positioned(
right: projectViewModel.isArabic ? 35 : 0, // right: projectViewModel.isArabic ? 35 : 0,
top: 5, // top: 5,
child: new Container( // child: new Container(
padding: EdgeInsets.all(4), // padding: EdgeInsets.all(4),
decoration: new BoxDecoration( // decoration: new BoxDecoration(
color: CustomColors.primaryColor, // color: CustomColors.primaryColor,
borderRadius: BorderRadius.circular(20), // borderRadius: BorderRadius.circular(20),
), // ),
constraints: BoxConstraints( // constraints: BoxConstraints(
minWidth: 20, // minWidth: 20,
minHeight: 20, // minHeight: 20,
), // ),
child: Text( // child: Text(
model.notificationsCount.toString(), // model.notificationsCount.toString(),
style: TextStyle( // style: TextStyle(
color: Colors.white, // color: Colors.white,
fontSize: // fontSize:
projectViewModel.isArabic ? 8 : 9, // projectViewModel.isArabic ? 8 : 9,
), // ),
textAlign: TextAlign.center, // textAlign: TextAlign.center,
), // ),
), // ),
) // )
: SizedBox() // : SizedBox()
], ],
); );
}, },

@ -910,34 +910,40 @@ class _ConfirmLogin extends State<ConfirmLogin> {
// GifLoaderDialogUtils.hideDialog(context); // GifLoaderDialogUtils.hideDialog(context);
getToDoCount(); getToDoCount();
appointmentRateViewModel Navigator.pushAndRemoveUntil(
.getIsLastAppointmentRatedList(projectViewModel.isArabic ? 1 : 2) context,
.then((value) => FadePage(
{ page: LandingPage(),
GifLoaderDialogUtils.hideDialog(AppGlobal.context), ),
if (appointmentRateViewModel.isHaveAppointmentNotRate) (r) => false);
{ // appointmentRateViewModel
Navigator.pushAndRemoveUntil( // .getIsLastAppointmentRatedList(projectViewModel.isArabic ? 1 : 2)
context, // .then((value) =>
FadePage( // {
page: RateAppointmentDoctor(), // GifLoaderDialogUtils.hideDialog(AppGlobal.context),
), // if (appointmentRateViewModel.isHaveAppointmentNotRate)
(r) => false) // {
} // Navigator.pushAndRemoveUntil(
else // context,
{ // FadePage(
Navigator.pushAndRemoveUntil( // page: RateAppointmentDoctor(),
context, // ),
FadePage( // (r) => false)
page: LandingPage(), // }
), // else
(r) => false) // {
}, // Navigator.pushAndRemoveUntil(
insertIMEI() // context,
}) // FadePage(
.catchError((err) { // page: LandingPage(),
print(err); // ),
}); // (r) => false)
// },
// insertIMEI()
// })
// .catchError((err) {
// print(err);
// });
// getToDoCount(); // getToDoCount();

@ -313,6 +313,7 @@ class _Login extends State<Login> {
confirmMessage: err, confirmMessage: err,
okText: TranslationBase.of(context).confirm, okText: TranslationBase.of(context).confirm,
cancelText: TranslationBase.of(context).cancel_nocaps, cancelText: TranslationBase.of(context).cancel_nocaps,
okButtonVisibility: false,
okFunction: () => { okFunction: () => {
ConfirmDialog.closeAlertDialog(context), ConfirmDialog.closeAlertDialog(context),
Navigator.of(context).push(FadePage(page: RegisterNew())), Navigator.of(context).push(FadePage(page: RegisterNew())),
@ -386,33 +387,39 @@ class _Login extends State<Login> {
// ), // ),
// (r) => false); // (r) => false);
getToDoCount(); getToDoCount();
appointmentRateViewModel Navigator.pushAndRemoveUntil(
.getIsLastAppointmentRatedList(projectViewModel.isArabic ? 1 : 2) context,
.then((value) => { FadePage(
GifLoaderDialogUtils.hideDialog(context), page: LandingPage(),
if (appointmentRateViewModel.isHaveAppointmentNotRate) ),
{ (r) => false);
Navigator.pushAndRemoveUntil( // appointmentRateViewModel
context, // .getIsLastAppointmentRatedList(projectViewModel.isArabic ? 1 : 2)
FadePage( // .then((value) => {
page: RateAppointmentDoctor(), // GifLoaderDialogUtils.hideDialog(context),
), // if (appointmentRateViewModel.isHaveAppointmentNotRate)
(r) => false) // {
} // Navigator.pushAndRemoveUntil(
else // context,
{ // FadePage(
Navigator.pushAndRemoveUntil( // page: RateAppointmentDoctor(),
context, // ),
FadePage( // (r) => false)
page: LandingPage(), // }
), // else
(r) => false) // {
} // Navigator.pushAndRemoveUntil(
}) // context,
.catchError((err) { // FadePage(
print(err); // page: LandingPage(),
GifLoaderDialogUtils.hideDialog(context); // ),
}); // (r) => false)
// }
// })
// .catchError((err) {
// print(err);
// GifLoaderDialogUtils.hideDialog(context);
// });
}); });
} }

@ -33,16 +33,16 @@ class DoctorHomePage extends StatelessWidget {
backgroundColor: Color(0xffF8F8F8), backgroundColor: Color(0xffF8F8F8),
body: Column( body: Column(
children: <Widget>[ children: <Widget>[
Row( // Row(
children: <Widget>[ // children: <Widget>[
MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, model.filterType, () { // MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, model.filterType, () {
model.setFilterType(FilterType.Clinic); // model.setFilterType(FilterType.Clinic);
}), // }),
MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, model.filterType, () { // MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, model.filterType, () {
model.setFilterType(FilterType.Hospital); // model.setFilterType(FilterType.Hospital);
}), // }),
], // ],
), // ),
Expanded( Expanded(
child: FractionallySizedBox( child: FractionallySizedBox(
widthFactor: 1.0, widthFactor: 1.0,

@ -36,16 +36,16 @@ class LabsHomePage extends StatelessWidget {
imagesInfo: imagesInfo, imagesInfo: imagesInfo,
body: Column( body: Column(
children: [ children: [
Row( // Row(
children: <Widget>[ // children: <Widget>[
MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, model.filterType, () { // MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, model.filterType, () {
model.setFilterType(FilterType.Clinic); // model.setFilterType(FilterType.Clinic);
}), // }),
MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, model.filterType, () { // MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, model.filterType, () {
model.setFilterType(FilterType.Hospital); // model.setFilterType(FilterType.Hospital);
}), // }),
], // ],
), // ),
Expanded( Expanded(
child: FractionallySizedBox( child: FractionallySizedBox(
widthFactor: 1.0, widthFactor: 1.0,

@ -56,63 +56,74 @@ class _HomePrescriptionsPageState extends State<HomePrescriptionsPage> with Sing
showNewAppBarTitle: true, showNewAppBarTitle: true,
body: Column( body: Column(
children: <Widget>[ children: <Widget>[
TabBar(
// isScrollable: true,
controller: _tabController,
indicatorWeight: 3.0,
indicatorSize: TabBarIndicatorSize.tab,
labelColor: Color(0xff2B353E),
unselectedLabelColor: Color(0xff575757),
labelPadding: EdgeInsets.only(top: 15, bottom: 13, left: 20, right: 20),
labelStyle: TextStyle(
fontSize: 15,
fontWeight: FontWeight.w600,
letterSpacing: -0.48,
),
unselectedLabelStyle: TextStyle(
fontSize: 15,
fontWeight: FontWeight.w600,
letterSpacing: -0.48,
),
tabs: [
Text(TranslationBase.of(context).byClinic, style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins')),
Text(TranslationBase.of(context).byHospital, style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins')),
Text(TranslationBase.of(context).orderLog, style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins')),
],
),
Expanded( Expanded(
child: TabBarView( child: PrescriptionsPage(
physics: BouncingScrollPhysics(), FilterType.Clinic,
controller: _tabController, prescriptionsViewModel: model,
children: <Widget>[ showOrderLog: () async {
PrescriptionsPage( _tabController.animateTo(2);
FilterType.Clinic, // await model.getPrescriptionsOrders(showLoading: true);
prescriptionsViewModel: model, setState(() {});
showOrderLog: () async { },
_tabController.animateTo(2);
// await model.getPrescriptionsOrders(showLoading: true);
setState(() {});
},
),
PrescriptionsPage(
FilterType.Hospital,
prescriptionsViewModel: model,
showOrderLog: () async {
_tabController.animateTo(2);
// await model.getPrescriptionsOrders(showLoading: true);
setState(() {});
},
),
PrescriptionsHistoryPage(
prescriptionsViewModel: model,
showOrderLog: () async {
await model.getPrescriptionsOrders(showLoading: true);
setState(() {});
},
)
],
), ),
) )
// TabBar(
// // isScrollable: true,
// controller: _tabController,
// indicatorWeight: 3.0,
// indicatorSize: TabBarIndicatorSize.tab,
// labelColor: Color(0xff2B353E),
// unselectedLabelColor: Color(0xff575757),
// labelPadding: EdgeInsets.only(top: 15, bottom: 13, left: 20, right: 20),
// labelStyle: TextStyle(
// fontSize: 15,
// fontWeight: FontWeight.w600,
// letterSpacing: -0.48,
// ),
// unselectedLabelStyle: TextStyle(
// fontSize: 15,
// fontWeight: FontWeight.w600,
// letterSpacing: -0.48,
// ),
// tabs: [
// Text(TranslationBase.of(context).byClinic, style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins')),
// Text(TranslationBase.of(context).byHospital, style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins')),
// Text(TranslationBase.of(context).orderLog, style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins')),
// ],
// ),
// Expanded(
// child: TabBarView(
// physics: BouncingScrollPhysics(),
// controller: _tabController,
// children: <Widget>[
// PrescriptionsPage(
// FilterType.Clinic,
// prescriptionsViewModel: model,
// showOrderLog: () async {
// _tabController.animateTo(2);
// // await model.getPrescriptionsOrders(showLoading: true);
// setState(() {});
// },
// ),
// PrescriptionsPage(
// FilterType.Hospital,
// prescriptionsViewModel: model,
// showOrderLog: () async {
// _tabController.animateTo(2);
// // await model.getPrescriptionsOrders(showLoading: true);
// setState(() {});
// },
// ),
// PrescriptionsHistoryPage(
// prescriptionsViewModel: model,
// showOrderLog: () async {
// await model.getPrescriptionsOrders(showLoading: true);
// setState(() {});
// },
// )
// ],
// ),
// )
], ],
), ),
), ),

@ -39,16 +39,16 @@ class RadiologyHomePage extends StatelessWidget {
imagesInfo: imagesInfo, imagesInfo: imagesInfo,
body: Column( body: Column(
children: <Widget>[ children: <Widget>[
Row( // Row(
children: <Widget>[ // children: <Widget>[
MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, model.filterType, () { // MyTabView(TranslationBase.of(context).byClinic, FilterType.Clinic, model.filterType, () {
model.setFilterType(FilterType.Clinic); // model.setFilterType(FilterType.Clinic);
}), // }),
MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, model.filterType, () { // MyTabView(TranslationBase.of(context).byHospital, FilterType.Hospital, model.filterType, () {
model.setFilterType(FilterType.Hospital); // model.setFilterType(FilterType.Hospital);
}), // }),
], // ],
), // ),
Expanded( Expanded(
child: FractionallySizedBox( child: FractionallySizedBox(

@ -266,57 +266,57 @@ class Utils {
hasBadge: true, hasBadge: true,
isEnable: projectViewModel!.havePrivilege(5)), isEnable: projectViewModel!.havePrivilege(5)),
), ),
projectViewModel.isArabic // projectViewModel.isArabic
? !projectViewModel.user.isFamily // ? !projectViewModel.user.isFamily
? Positioned( // ? Positioned(
left: 8, // left: 8,
top: 4, // top: 4,
child: badge_import.Badge( // child: badge_import.Badge(
badgeAnimation: badge_import.BadgeAnimation.fade( // badgeAnimation: badge_import.BadgeAnimation.fade(
toAnimate: false), // toAnimate: false),
badgeStyle: badge_import.BadgeStyle( // badgeStyle: badge_import.BadgeStyle(
elevation: 0, // elevation: 0,
shape: badge_import.BadgeShape.circle, // shape: badge_import.BadgeShape.circle,
badgeColor: secondaryColor!.withOpacity(1.0), // badgeColor: secondaryColor!.withOpacity(1.0),
borderRadius: BorderRadius.circular(8), // borderRadius: BorderRadius.circular(8),
), // ),
position: badge_import.BadgePosition.topEnd(), // position: badge_import.BadgePosition.topEnd(),
badgeContent: Container( // badgeContent: Container(
padding: EdgeInsets.all(2.0), // padding: EdgeInsets.all(2.0),
child: Text(count.toString(), // child: Text(count.toString(),
style: TextStyle( // style: TextStyle(
color: Colors.white, // color: Colors.white,
fontWeight: FontWeight.bold, // fontWeight: FontWeight.bold,
fontSize: 12.0)), // fontSize: 12.0)),
), // ),
), // ),
) // )
: Container() // : Container()
: !projectViewModel.user!.isFamily // : !projectViewModel.user!.isFamily
? Positioned( // ? Positioned(
right: 8, // right: 8,
top: 4, // top: 4,
child: badge_import.Badge( // child: badge_import.Badge(
position: badge_import.BadgePosition.topEnd(), // position: badge_import.BadgePosition.topEnd(),
badgeAnimation: badge_import.BadgeAnimation.fade( // badgeAnimation: badge_import.BadgeAnimation.fade(
toAnimate: false), // toAnimate: false),
badgeStyle: badge_import.BadgeStyle( // badgeStyle: badge_import.BadgeStyle(
elevation: 0, // elevation: 0,
shape: badge_import.BadgeShape.circle, // shape: badge_import.BadgeShape.circle,
badgeColor: secondaryColor!.withOpacity(1.0), // badgeColor: secondaryColor!.withOpacity(1.0),
borderRadius: BorderRadius.circular(8), // borderRadius: BorderRadius.circular(8),
), // ),
badgeContent: Container( // badgeContent: Container(
padding: EdgeInsets.all(2.0), // padding: EdgeInsets.all(2.0),
child: Text(count.toString(), // child: Text(count.toString(),
style: TextStyle( // style: TextStyle(
color: Colors.white, // color: Colors.white,
fontWeight: FontWeight.bold, // fontWeight: FontWeight.bold,
fontSize: 12.0)), // fontSize: 12.0)),
), // ),
), // ),
) // )
: Container(), // : Container(),
]) ])
: MedicalProfileItem( : MedicalProfileItem(
title: TranslationBase.of(context!).myAppointments, title: TranslationBase.of(context!).myAppointments,

@ -76,8 +76,8 @@ class _FloatingButtonState extends State<FloatingButton>
margin: EdgeInsets.only(bottom: 4), margin: EdgeInsets.only(bottom: 4),
child: Container( child: Container(
width: 100, width: 102,
height: 100, height: 102,
decoration: BoxDecoration( decoration: BoxDecoration(
// borderRadius: BorderRadius.all(Radius.circular(70.0)), // borderRadius: BorderRadius.all(Radius.circular(70.0)),
color: appColor, color: appColor,

@ -233,7 +233,7 @@ class DoctorCard extends StatelessWidget {
return time != null return time != null
? Text( ? Text(
"${time.days ?? 0}:${time.hours ?? 0}:${time.min}:${time.sec}", "${time.days ?? 0}:${time.hours ?? 0}:${time.min}:${time.sec}",
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Color(0xffD02127), letterSpacing: -0.48, height: 18 / 12), style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: CustomColors.primaryColor, letterSpacing: -0.48, height: 18 / 12),
) )
: Container(); : Container();
}, },

@ -353,13 +353,13 @@ class _TimeLineViewState extends State<TimeLineView> {
Navigator.of(context).pushNamed(CONFIRM_LOGIN); Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else { } else {
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
WELCOME_LOGIN, LOGIN_TYPE,
); );
} }
}).catchError((err) { }).catchError((err) {
GifLoaderDialogUtils.hideDialog(context); GifLoaderDialogUtils.hideDialog(context);
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
WELCOME_LOGIN, LOGIN_TYPE,
); );
}); });
} }

@ -15,8 +15,9 @@ class ConfirmDialog {
final VoidCallback okFunction; final VoidCallback okFunction;
final Function? cancelFunction; final Function? cancelFunction;
final isDissmissable; final isDissmissable;
final bool okButtonVisibility;
ConfirmDialog({required this.context, this.title, required this.confirmMessage, required this.okText, required this.cancelText, required this.okFunction, required this.cancelFunction, this.isDissmissable = true}); ConfirmDialog({required this.context, this.title, required this.confirmMessage, required this.okText, required this.cancelText, required this.okFunction, required this.cancelFunction, this.isDissmissable = true, this.okButtonVisibility = true});
showAlertDialog(BuildContext context) { showAlertDialog(BuildContext context) {
Dialog alert = Dialog( Dialog alert = Dialog(
@ -30,6 +31,7 @@ class ConfirmDialog {
cancelText, cancelText,
cancelFunction: cancelFunction, cancelFunction: cancelFunction,
okFunction: okFunction, okFunction: okFunction,
okButtonVisibility: okButtonVisibility,
), ),
), ),
); );
@ -57,8 +59,8 @@ class Mdialog extends StatelessWidget {
final okText; final okText;
final cancelText; final cancelText;
BuildContext? _context; BuildContext? _context;
final bool okButtonVisibility;
Mdialog(this._context, this.title, this.description, this.okText, this.cancelText, {this.okFunction, this.cancelFunction}); Mdialog(this._context, this.title, this.description, this.okText, this.cancelText, {this.okFunction, this.cancelFunction, required this.okButtonVisibility});
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@ -106,17 +108,20 @@ class Mdialog extends StatelessWidget {
), ),
), ),
mWidth(8), mWidth(8),
Expanded( Visibility(
child: InkWell( visible: okButtonVisibility,
onTap: okFunction, child: Expanded(
child: Container( child: InkWell(
decoration: containerRadius(CustomColors.green, 12), onTap: okFunction,
padding: EdgeInsets.only(top: 8,bottom: 8), child: Container(
child: Center( decoration: containerRadius(CustomColors.green, 12),
child: Texts( padding: EdgeInsets.only(top: 8,bottom: 8),
okText, child: Center(
color: Colors.white, child: Texts(
variant: "caption3", okText,
color: Colors.white,
variant: "caption3",
),
), ),
), ),
), ),

@ -335,8 +335,46 @@ class _NotAutPageState extends State<NotAutPage> {
if (data != null) { if (data != null) {
Navigator.of(context).pushNamed(CONFIRM_LOGIN); Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else { } else {
Navigator.of(context).pushNamed(LOGIN_TYPE); GifLoaderDialogUtils.showMyDialog(context);
authService.selectDeviceImei(DEVICE_TOKEN).then((SelectDeviceIMEIRES? value) {
GifLoaderDialogUtils.hideDialog(context);
if (value != null) {
sharedPref.setObject(IMEI_USER_DATA, value);
Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else {
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
}
}).catchError((err) {
GifLoaderDialogUtils.hideDialog(context);
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
});}
/* var data = await sharedPref.getObject(IMEI_USER_DATA);
sharedPref.remove(REGISTER_DATA_FOR_LOGIIN);
if (data != null) {
Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else {
GifLoaderDialogUtils.showMyDialog(context);
authService.selectDeviceImei(DEVICE_TOKEN).then((SelectDeviceIMEIRES? value) {
GifLoaderDialogUtils.hideDialog(context);
if (value != null) {
sharedPref.setObject(IMEI_USER_DATA, value);
Navigator.of(context).pushNamed(CONFIRM_LOGIN);
} else {
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
}
}).catchError((err) {
GifLoaderDialogUtils.hideDialog(context);
Navigator.of(context).pushNamed(
LOGIN_TYPE,
);
});*/
}
} }
} }

@ -3,6 +3,7 @@ import 'dart:io';
import 'package:diplomaticquarterapp/config/size_config.dart'; import 'package:diplomaticquarterapp/config/size_config.dart';
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart';
import 'package:diplomaticquarterapp/theme/colors.dart';
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart'; import 'package:flutter_svg/svg.dart';
@ -172,7 +173,7 @@ class SMSOTP {
children: <TextSpan>[ children: <TextSpan>[
TextSpan( TextSpan(
text: displayTime, text: displayTime,
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Color(0xffD02127), letterSpacing: -0.48), style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: CustomColors.primaryColor, letterSpacing: -0.48),
), ),
], ],
), ),

Loading…
Cancel
Save