Booking appointment 1.3

merge-requests/390/head
Mirza.Shafique 5 years ago
parent ca363adee2
commit 089ad0d321

@ -57,9 +57,14 @@ const Map localizedValues = {
'gender': {'en': 'Gender', 'ar': 'الجنس'}, 'gender': {'en': 'Gender', 'ar': 'الجنس'},
'nationality': {'en': 'Nationality', 'ar': 'الجنسية'}, 'nationality': {'en': 'Nationality', 'ar': 'الجنسية'},
'neverWait': {'en': 'Never wait in queue', 'ar': 'لا تنتظر في قائمة الانتظار'}, 'neverWait': {'en': 'Never wait in queue', 'ar': 'لا تنتظر في قائمة الانتظار'},
'reminderTitle': {'en': 'You have appointment with Dr. ', 'ar': 'لديك موعد مع د'},
'appointmentCalendar': {'en': 'Would you like to set a reminder for this appointment in your calendar?', 'ar': 'هل ترغب في تعيين تذكير لهذا الموعد في التقويم الخاص بك؟'},
'appointmentSuccess': {'en': 'Appointment is successfully booked', 'ar': 'تم حجز الموعد بنجاح'},
'docQualifications': {'en': 'Doctor Qualifications', 'ar': 'مؤهلات الطبيب'}, 'docQualifications': {'en': 'Doctor Qualifications', 'ar': 'مؤهلات الطبيب'},
'pressAgain': {'en': 'Press again to exit the app', 'ar': 'اضغط مرة أخرى للخروج من التطبيق'},
'confirmAppoHeading': {'en': 'Kindly review your Appointment', 'ar': 'يرجى تأكيد موعدك'}, 'confirmAppoHeading': {'en': 'Kindly review your Appointment', 'ar': 'يرجى تأكيد موعدك'},
'patientInfo': {'en': 'Patient Information', 'ar': 'معلومات المريض'}, 'patientInfo': {'en': 'Patient Information', 'ar': 'معلومات المريض'},
'doctorFilter': {'en': 'Doctors will be filtered based on your gender and age', 'ar': 'سيتم تصفية الأطباء بناءً على جنسك وعمرك'},
'bookSuccess': {'en': 'Book Success', 'ar': 'تم حجز الموعد بنجاح'}, 'bookSuccess': {'en': 'Book Success', 'ar': 'تم حجز الموعد بنجاح'},
'patientShare': {'en': 'Patient Share', 'ar': 'المبلغ المستحق'}, 'patientShare': {'en': 'Patient Share', 'ar': 'المبلغ المستحق'},
'patientShareWithTax': {'en': 'Patient Share with Tax', 'ar': 'المبلغ الإجمالي المستحق'}, 'patientShareWithTax': {'en': 'Patient Share with Tax', 'ar': 'المبلغ الإجمالي المستحق'},

@ -117,7 +117,7 @@ class _BookConfirmState extends State<BookConfirm> {
Text( Text(
TranslationBase.of(context).appoInfo, TranslationBase.of(context).appoInfo,
style: TextStyle( style: TextStyle(
fontSize: 12.0, fontSize: 14.0,
color: Colors.black, color: Colors.black,
letterSpacing: -0.36, letterSpacing: -0.36,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
@ -151,7 +151,7 @@ class _BookConfirmState extends State<BookConfirm> {
Text( Text(
TranslationBase.of(context).patientInfo, TranslationBase.of(context).patientInfo,
style: TextStyle( style: TextStyle(
fontSize: 12.0, fontSize: 14.0,
color: Colors.black, color: Colors.black,
letterSpacing: -0.36, letterSpacing: -0.36,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
@ -219,7 +219,7 @@ class _BookConfirmState extends State<BookConfirm> {
Text( Text(
title + ": ", title + ": ",
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 14,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
color: Color(0xFF575757), color: Color(0xFF575757),
letterSpacing: -0.4, letterSpacing: -0.4,
@ -228,7 +228,7 @@ class _BookConfirmState extends State<BookConfirm> {
Text( Text(
des, des,
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 14,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
color: Colors.black, color: Colors.black,
letterSpacing: -0.48, letterSpacing: -0.48,

@ -14,29 +14,53 @@ import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import 'package:jiffy/jiffy.dart';
import 'package:permission_handler/permission_handler.dart';
import 'BookSuccess.dart'; import 'BookSuccess.dart';
class BookReminderPage extends StatelessWidget { class BookReminderPage extends StatefulWidget {
PatientShareResponse patientShareResponse; PatientShareResponse patientShareResponse;
DoctorList docObject; DoctorList docObject;
MyInAppBrowser browser;
final ChromeSafariBrowser chromeBrowser = new MyChromeSafariBrowser(new MyInAppBrowser());
String selectedTime;
String appoDateFormatted; String appoDateFormatted;
String appoTimeFormatted; String appoTimeFormatted;
DateTime dateTime; DateTime dateTime;
BookReminderPage({@required this.patientShareResponse, @required this.docObject, @required this.appoDateFormatted, @required this.appoTimeFormatted,this.dateTime}); BookReminderPage({@required this.patientShareResponse, @required this.docObject, @required this.appoDateFormatted, @required this.appoTimeFormatted, this.dateTime});
@override
_BookReminderPageState createState() => _BookReminderPageState();
}
class _BookReminderPageState extends State<BookReminderPage> {
MyInAppBrowser browser;
final ChromeSafariBrowser chromeBrowser = new MyChromeSafariBrowser(new MyInAppBrowser());
String selectedTime;
bool isSuccessShow = true;
@override
void initState() {
// TODO: implement initState
super.initState();
Future.delayed(const Duration(seconds: 2), () {
// Here you can write your code
setState(() {
isSuccessShow = false;
});
});
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// print("selectedTime "+selectedTime??""); // print("selectedTime "+selectedTime??"");
print("appoDateFormatted "+appoDateFormatted??""); print("appoDateFormatted " + widget.appoDateFormatted ?? "");
print("appoTimeFormatted "+appoDateFormatted??""); print("appoTimeFormatted " + widget.appoTimeFormatted ?? "");
return AppScaffold( return AppScaffold(
appBarTitle: docObject.doctorTitle + " " + docObject.name, appBarTitle: widget.docObject.doctorTitle + " " + widget.docObject.name,
isShowDecPage: false, isShowDecPage: false,
isShowAppBar: true, isShowAppBar: true,
showNewAppBarTitle: true, showNewAppBarTitle: true,
@ -48,17 +72,17 @@ class BookReminderPage extends StatelessWidget {
children: <Widget>[ children: <Widget>[
DoctorHeader( DoctorHeader(
headerModel: HeaderModel( headerModel: HeaderModel(
docObject.name, widget.docObject.name,
docObject.doctorImageURL, widget.docObject.doctorImageURL,
docObject.speciality, widget.docObject.speciality,
"", "",
docObject.projectName, widget.docObject.projectName,
null, null,
null, null,
docObject.nationalityFlagURL, widget.docObject.nationalityFlagURL,
docObject.doctorRate, widget.docObject.doctorRate,
null, null,
docObject.noOfPatientsRate, widget.docObject.noOfPatientsRate,
"", "",
), ),
isNeedToShowButton: false, isNeedToShowButton: false,
@ -78,7 +102,7 @@ class BookReminderPage extends StatelessWidget {
size: 60, size: 60,
), ),
Text( Text(
"Would you like to set a reminder for this appointment in your calendar?", TranslationBase.of(context).appointmentCalendar,
style: TextStyle( style: TextStyle(
fontSize: 20, fontSize: 20,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
@ -86,40 +110,41 @@ class BookReminderPage extends StatelessWidget {
), ),
), ),
mFlex(1), mFlex(1),
Container( if (isSuccessShow)
width: double.infinity, Container(
child: Card( width: double.infinity,
shape: cardRadius(12), child: Card(
margin: EdgeInsets.all(10), shape: cardRadius(12),
child: Padding( margin: EdgeInsets.all(10),
padding: const EdgeInsets.all(16.0), child: Padding(
child: Row( padding: const EdgeInsets.all(16.0),
children: [ child: Row(
circularAviator( children: [
30, circularAviator(
icon: Icons.done_rounded, 30,
iconColor: Colors.white, icon: Icons.done_rounded,
bcColor: CustomColors.green, iconColor: Colors.white,
brColor: CustomColors.green, bcColor: CustomColors.green,
), brColor: CustomColors.green,
mWidth(10),
Expanded(
child: AutoSizeText(
"Appointment is successfully booked",
maxLines: 1,
minFontSize: 6,
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
letterSpacing: -0.65,
),
), ),
) mWidth(10),
], Expanded(
child: AutoSizeText(
TranslationBase.of(context).appointmentSuccess,
maxLines: 1,
minFontSize: 6,
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
letterSpacing: -0.65,
),
),
)
],
),
), ),
), ),
), ),
),
], ],
), ),
), ),
@ -168,8 +193,16 @@ class BookReminderPage extends StatelessWidget {
textColor: Colors.white, textColor: Colors.white,
disabledTextColor: Colors.white, disabledTextColor: Colors.white,
disabledColor: CustomColors.green, disabledColor: CustomColors.green,
onPressed: () { onPressed: () async {
_showReminderDialog(context); if (await Permission.contacts.request().isGranted) {
_showReminderDialog(context);
} else {
requestPermissions().then((results) {
if (results[Permission.calendar].isGranted) {
_showReminderDialog(context);
}
});
}
}, },
child: Text(TranslationBase.of(context).yes, style: TextStyle(fontSize: 16.0, letterSpacing: -0.48)), child: Text(TranslationBase.of(context).yes, style: TextStyle(fontSize: 16.0, letterSpacing: -0.48)),
), ),
@ -183,7 +216,11 @@ class BookReminderPage extends StatelessWidget {
} }
Future navigateToBookSuccess(BuildContext context) async { Future navigateToBookSuccess(BuildContext context) async {
Navigator.push(context, FadePage(page: BookSuccess(docObject: docObject, patientShareResponse: patientShareResponse, appoDateFormatted: appoDateFormatted, appoTimeFormatted: appoTimeFormatted))); Navigator.push(
context,
FadePage(
page:
BookSuccess(docObject: widget.docObject, patientShareResponse: widget.patientShareResponse, appoDateFormatted: widget.appoDateFormatted, appoTimeFormatted: widget.appoTimeFormatted)));
} }
Future<void> _showReminderDialog(BuildContext context) async { Future<void> _showReminderDialog(BuildContext context) async {
@ -195,26 +232,42 @@ class BookReminderPage extends StatelessWidget {
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12.0)), //this right here shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12.0)), //this right here
child: ReminderDialog( child: ReminderDialog(
onClick: (int i) async { onClick: (int i) async {
CalendarUtils calendarUtils = await CalendarUtils.getInstance();
calendarUtils.createOrUpdateEvent(title: "title",description: "descriptipn",scheduleDateTime:dateTime).then((value) {
AppToast.showSuccessToast(message: TranslationBase.of(context).reminderSuccess);
});
if (i == 0) { if (i == 0) {
// Before 30 mints // Before 30 mints
widget.dateTime = Jiffy(widget.dateTime).subtract(minutes: 30);
// dateTime.add(new Duration(minutes: -30));
} else if (i == 1) { } else if (i == 1) {
// Before 1 hour // Before 1 hour
// dateTime.add(new Duration(minutes: -60));
widget.dateTime = Jiffy(widget.dateTime).subtract(hours: 1);
} else if (i == 2) { } else if (i == 2) {
// Before 1 hour and 30 mints // Before 1 hour and 30 mints
// dateTime.add(new Duration(minutes: -90));
widget.dateTime = Jiffy(widget.dateTime).subtract(hours: 1, minutes: 30);
} else if (i == 3) { } else if (i == 3) {
// Before 2 hours // Before 2 hours
// dateTime.add(new Duration(minutes: -120));
widget.dateTime = Jiffy(widget.dateTime).subtract(hours: 2);
} }
CalendarUtils calendarUtils = await CalendarUtils.getInstance();
calendarUtils
.createOrUpdateEvent(
title: TranslationBase.of(context).reminderTitle + " " + widget.docObject.name,
description: "At " + widget.appoDateFormatted + " " + widget.appoTimeFormatted,
scheduleDateTime: widget.dateTime)
.then((value) {
AppToast.showSuccessToast(message: TranslationBase.of(context).reminderSuccess);
navigateToBookSuccess(context);
});
}, },
), ),
); );
}, },
); );
} }
Future<Map<Permission, PermissionStatus>> requestPermissions() async {
var permissionResults = [Permission.calendar].request();
return permissionResults;
}
} }

@ -1,6 +1,7 @@
import "dart:collection"; import "dart:collection";
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/models/Appointments/DoctorListResponse.dart'; import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.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';
@ -19,6 +20,7 @@ import 'package:diplomaticquarterapp/widgets/card/rounded_container.dart';
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_svg/flutter_svg.dart';
import 'package:provider/provider.dart';
import 'LiveCareBookAppointment.dart'; import 'LiveCareBookAppointment.dart';
@ -50,8 +52,9 @@ class _SearchByClinicState extends State<SearchByClinic> {
final GlobalKey clinicDropdownKey = GlobalKey(); final GlobalKey clinicDropdownKey = GlobalKey();
final GlobalKey projectDropdownKey = GlobalKey(); final GlobalKey projectDropdownKey = GlobalKey();
ProjectViewModel projectViewModel;
String radioValue = "Female"; String radioValue = null;
@override @override
void initState() { void initState() {
@ -61,6 +64,8 @@ class _SearchByClinicState extends State<SearchByClinic> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
projectViewModel = Provider.of(context);
if (radioValue == null) radioValue = TranslationBase.of(context).female;
return Container( return Container(
child: SingleChildScrollView( child: SingleChildScrollView(
child: Column( child: Column(
@ -73,7 +78,7 @@ class _SearchByClinicState extends State<SearchByClinic> {
top: 20, top: 20,
), ),
child: Text( child: Text(
"Doctors will be filtered based on your gender and age", TranslationBase.of(context).doctorFilter,
style: TextStyle( style: TextStyle(
fontSize: 16, fontSize: 16,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
@ -88,7 +93,7 @@ class _SearchByClinicState extends State<SearchByClinic> {
Padding( Padding(
padding: const EdgeInsets.only(left: 20, right: 20), padding: const EdgeInsets.only(left: 20, right: 20),
child: Text( child: Text(
"Gender", TranslationBase.of(context).gender,
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 12,
letterSpacing: -0.48, letterSpacing: -0.48,
@ -247,11 +252,13 @@ class _SearchByClinicState extends State<SearchByClinic> {
child: DropdownButtonHideUnderline( child: DropdownButtonHideUnderline(
child: DropdownButton<String>( child: DropdownButton<String>(
key: clinicDropdownKey, key: clinicDropdownKey,
hint: new Text(TranslationBase.of(context).selectClinic), hint: new Text(
TranslationBase.of(context).selectClinic,
),
value: dropdownValue, value: dropdownValue,
iconSize: 0, iconSize: 0,
isExpanded: true, isExpanded: true,
style: TextStyle(fontSize: 14, letterSpacing: -0.56, color: Colors.black), style: TextStyle(fontSize: 14, letterSpacing: -0.56, color: Colors.black, fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins'),
items: clinicsList.map((item) { items: clinicsList.map((item) {
return new DropdownMenuItem<String>( return new DropdownMenuItem<String>(
value: item.clinicID.toString() + value: item.clinicID.toString() +

@ -74,6 +74,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
ToDoCountProviderModel model; ToDoCountProviderModel model;
var notificationCount = ''; var notificationCount = '';
var themeNotifier; var themeNotifier;
DateTime currentBackPressTime;
bool _showBottomNavigationBar = true; bool _showBottomNavigationBar = true;
@ -97,6 +98,16 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
bool isPageNavigated = false; bool isPageNavigated = false;
LocationUtils locationUtils; LocationUtils locationUtils;
Future<bool> onWillPop() {
DateTime now = DateTime.now();
if (currentBackPressTime == null || now.difference(currentBackPressTime) > Duration(seconds: 2)) {
currentBackPressTime = now;
AppToast.showToast(message: TranslationBase.of(context).pressAgain);
return Future.value(false);
}
return Future.value(true);
}
changeCurrentTab(int tab) { changeCurrentTab(int tab) {
if (!projectViewModel.isLogin) { if (!projectViewModel.isLogin) {
if (tab == 3) { if (tab == 3) {
@ -170,8 +181,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
var route = ModalRoute.of(context); var route = ModalRoute.of(context);
if (route != null) { if (route != null) {}
}
//setState(() { //setState(() {
AppGlobal.context = context; AppGlobal.context = context;
@ -213,8 +223,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
pageController = PageController(keepPage: true); pageController = PageController(keepPage: true);
_firebaseMessaging.setAutoInitEnabled(true); _firebaseMessaging.setAutoInitEnabled(true);
locationUtils = locationUtils = new LocationUtils(isShowConfirmDialog: false, context: context);
new LocationUtils(isShowConfirmDialog: false, context: context);
WidgetsBinding.instance.addPostFrameCallback((_) { WidgetsBinding.instance.addPostFrameCallback((_) {
// locationUtils.getCurrentLocation(); // locationUtils.getCurrentLocation();
if (projectViewModel.isLogin) { if (projectViewModel.isLogin) {
@ -232,14 +241,14 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
} }
requestPermissions().then((results) { requestPermissions().then((results) {
_firebaseMessaging.getToken().then((String token) { _firebaseMessaging.getToken().then((String token) {
sharedPref.setString(PUSH_TOKEN, token); sharedPref.setString(PUSH_TOKEN, token);
if (token != null && DEVICE_TOKEN == "") { if (token != null && DEVICE_TOKEN == "") {
DEVICE_TOKEN = token; DEVICE_TOKEN = token;
checkUserStatus(token); checkUserStatus(token);
if (projectViewModel.isLogin) this.getNotificationCount(DEVICE_TOKEN); if (projectViewModel.isLogin) this.getNotificationCount(DEVICE_TOKEN);
} }
}); });
if (results[Permission.location].isGranted) {} if (results[Permission.location].isGranted) {}
// if (results[Permission.storage].isGranted) ; // if (results[Permission.storage].isGranted) ;
// if (results[Permission.camera].isGranted) ; // if (results[Permission.camera].isGranted) ;
@ -584,23 +593,26 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
), ),
drawer: SafeArea(child: AppDrawer()), drawer: SafeArea(child: AppDrawer()),
extendBody: true, extendBody: true,
body: PageView( body: WillPopScope(
physics: NeverScrollableScrollPhysics(), onWillPop: onWillPop,
controller: pageController, child: PageView(
children: [ physics: NeverScrollableScrollPhysics(),
HomePage2( controller: pageController,
goToMyProfile: () { children: [
changeCurrentTab(1); HomePage2(
}, goToMyProfile: () {
onLoginClick: () { changeCurrentTab(1);
login(); },
}, onLoginClick: () {
), login();
MedicalProfilePageNew(), },
Search(), ),
MyFamily(isAppbarVisible: false), MedicalProfilePageNew(),
ToDo(isShowAppBar: false), Search(),
], // Please do not remove the BookingOptions from this array MyFamily(isAppbarVisible: false),
ToDo(isShowAppBar: false),
], // Please do not remove the BookingOptions from this array
),
), ),
bottomNavigationBar: BottomNavBar( bottomNavigationBar: BottomNavBar(
changeIndex: changeCurrentTab, changeIndex: changeCurrentTab,

@ -74,6 +74,8 @@ class PrescriptionsPage extends StatelessWidget {
subName: prescriptions.name, subName: prescriptions.name,
isInOutPatient: prescriptions.isInOutPatient, isInOutPatient: prescriptions.isInOutPatient,
isLiveCareAppointment: prescriptions.isLiveCareAppointment, isLiveCareAppointment: prescriptions.isLiveCareAppointment,
appointmentTime: DateUtil.formatDateToTime(DateUtil.convertStringToDate(prescriptions
.appointmentDate)),
date: DateUtil.convertStringToDate(prescriptions date: DateUtil.convertStringToDate(prescriptions
.appointmentDate) //projectViewModel.isArabic? DateUtil.getMonthDayYearDateFormattedAr( DateUtil.convertStringToDate(prescriptions.appointmentDate) ):DateUtil.getMonthDayYearDateFormatted(DateUtil.convertStringToDate(prescriptions.appointmentDate)), .appointmentDate) //projectViewModel.isArabic? DateUtil.getMonthDayYearDateFormattedAr( DateUtil.convertStringToDate(prescriptions.appointmentDate) ):DateUtil.getMonthDayYearDateFormatted(DateUtil.convertStringToDate(prescriptions.appointmentDate)),
); );

@ -95,12 +95,16 @@ class TranslationBase {
String get neverWait => localizedValues['neverWait'][locale.languageCode]; String get neverWait => localizedValues['neverWait'][locale.languageCode];
String get patientShareWithTax => localizedValues['patientShareWithTax'][locale.languageCode]; String get patientShareWithTax => localizedValues['patientShareWithTax'][locale.languageCode];
String get reminderTitle => localizedValues['reminderTitle'][locale.languageCode];
String get confirmAppo => localizedValues['confirmAppo'][locale.languageCode]; String get confirmAppo => localizedValues['confirmAppo'][locale.languageCode];
String get confirm => localizedValues['confirm'][locale.languageCode]; String get appointmentCalendar => localizedValues['appointmentCalendar'][locale.languageCode];
String get appointmentSuccess => localizedValues['appointmentSuccess'][locale.languageCode];
String get confirm => localizedValues['confirm'][locale.languageCode];
String get pressAgain => localizedValues['pressAgain'][locale.languageCode];
String get confirmLiveCare => localizedValues['confirmLiveCare'][locale.languageCode]; String get confirmLiveCare => localizedValues['confirmLiveCare'][locale.languageCode];
String get doctorFilter => localizedValues['doctorFilter'][locale.languageCode];
String get waitingForDoctor => localizedValues['waitingForDoctor'][locale.languageCode]; String get waitingForDoctor => localizedValues['waitingForDoctor'][locale.languageCode];
String get confirmLater => localizedValues['confirmLater'][locale.languageCode]; String get confirmLater => localizedValues['confirmLater'][locale.languageCode];

@ -307,7 +307,7 @@ class TimelineNewWidget extends StatelessWidget {
projectViewModel.isArabic ? "ar" : "en", projectViewModel.isArabic ? "ar" : "en",
), ),
style: TextStyle( style: TextStyle(
color: CustomColors.grey2, color: Colors.grey[200],
fontSize: 12, fontSize: 12,
height: 1.2, height: 1.2,
), ),
@ -346,7 +346,7 @@ class TimelineNewWidget extends StatelessWidget {
appoitmentAllHistoryResul.clinicName, appoitmentAllHistoryResul.clinicName,
style: TextStyle( style: TextStyle(
color: CustomColors.grey2, color: CustomColors.grey2,
fontSize: 8, fontSize: 10,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
letterSpacing: -0.36, letterSpacing: -0.36,
), ),

Loading…
Cancel
Save