From 9f77d080c06c9abb75e8b98e3745be415a5206a0 Mon Sep 17 00:00:00 2001 From: RoaaGhali98 Date: Tue, 18 Jan 2022 13:06:41 +0200 Subject: [PATCH] Editing the schedule page --- lib/widgets/doctor/my_schedule_widget.dart | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lib/widgets/doctor/my_schedule_widget.dart b/lib/widgets/doctor/my_schedule_widget.dart index 7b9100a6..2842cff5 100644 --- a/lib/widgets/doctor/my_schedule_widget.dart +++ b/lib/widgets/doctor/my_schedule_widget.dart @@ -41,24 +41,28 @@ class MyScheduleWidget extends StatelessWidget { ? AppDateUtils.getWeekDayArabic( workingHoursTable.date.weekday) : AppDateUtils.getWeekDay(workingHoursTable.date.weekday), - fontSize: MediaQuery.of(context).size.width*0.032, + //fontSize: MediaQuery.of(context).size.width*0.032, + fontSize: 13, fontFamily: 'Poppins', - // fontSize: 18 + fontWeight: FontWeight.w700, + letterSpacing: -0.52, ), AppText( ' ${workingHoursTable.date.day} ${(AppDateUtils.getMonth(workingHoursTable.date.month).toString().substring(0, 3))}', - fontSize: MediaQuery.of(context).size.width*0.05, + //fontSize: MediaQuery.of(context).size.width*0.05, + fontSize: 18, fontWeight: FontWeight.w700, fontFamily: 'Poppins', - // fontSize: 18 + letterSpacing: -0.72, ), ], ), ), Container( - width: MediaQuery.of(context).size.width * 0.65, - // width: SizeConfig.getWidthMultiplier()*64, - // height: SizeConfig.getHeightMultiplier()*18, + //width: MediaQuery.of(context).size.width * 0.65, + width: 257, + height: 108, + //height: MediaQuery.of(context).size.height * 0.20, child: CardWithBgWidget( marginSymmetric: 7, hasBorder: false, @@ -77,10 +81,7 @@ class MyScheduleWidget extends StatelessWidget { fontFamily: 'Poppins', color: AppGlobal.appGreenColor, // fontSize: 18 - ), - SizedBox( - height: 4, - ), + ), Column( crossAxisAlignment: CrossAxisAlignment.start, children: workingHours.map((work) {