Editing the schedule page

merge-requests/959/head
RoaaGhali98 4 years ago
parent 956afab2b4
commit 9f77d080c0

@ -41,24 +41,28 @@ class MyScheduleWidget extends StatelessWidget {
? AppDateUtils.getWeekDayArabic( ? AppDateUtils.getWeekDayArabic(
workingHoursTable.date.weekday) workingHoursTable.date.weekday)
: AppDateUtils.getWeekDay(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', fontFamily: 'Poppins',
// fontSize: 18 fontWeight: FontWeight.w700,
letterSpacing: -0.52,
), ),
AppText( AppText(
' ${workingHoursTable.date.day} ${(AppDateUtils.getMonth(workingHoursTable.date.month).toString().substring(0, 3))}', ' ${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, fontWeight: FontWeight.w700,
fontFamily: 'Poppins', fontFamily: 'Poppins',
// fontSize: 18 letterSpacing: -0.72,
), ),
], ],
), ),
), ),
Container( Container(
width: MediaQuery.of(context).size.width * 0.65, //width: MediaQuery.of(context).size.width * 0.65,
// width: SizeConfig.getWidthMultiplier()*64, width: 257,
// height: SizeConfig.getHeightMultiplier()*18, height: 108,
//height: MediaQuery.of(context).size.height * 0.20,
child: CardWithBgWidget( child: CardWithBgWidget(
marginSymmetric: 7, marginSymmetric: 7,
hasBorder: false, hasBorder: false,
@ -77,10 +81,7 @@ class MyScheduleWidget extends StatelessWidget {
fontFamily: 'Poppins', fontFamily: 'Poppins',
color: AppGlobal.appGreenColor, color: AppGlobal.appGreenColor,
// fontSize: 18 // fontSize: 18
), ),
SizedBox(
height: 4,
),
Column( Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: workingHours.map((work) { children: workingHours.map((work) {

Loading…
Cancel
Save