From e041538fb81d6e6364cb3bd8d338dd1219a975d3 Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Mon, 5 Apr 2021 11:33:15 +0300 Subject: [PATCH] small fix on schedule --- lib/widgets/doctor/my_schedule_widget.dart | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/widgets/doctor/my_schedule_widget.dart b/lib/widgets/doctor/my_schedule_widget.dart index c28cc8d3..fca0e0b4 100644 --- a/lib/widgets/doctor/my_schedule_widget.dart +++ b/lib/widgets/doctor/my_schedule_widget.dart @@ -78,10 +78,18 @@ class MyScheduleWidget extends StatelessWidget { SizedBox( height: 5, ), - AppText( - work.from + ' - ' + work.to, - fontSize: 2.0 * SizeConfig.textMultiplier, - fontWeight: FontWeight.w300, + Container( + width: MediaQuery.of(context).size.width*0.55, + child: Expanded( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: AppText( + work.from + ' - ' + work.to, + fontSize: 15, + fontWeight: FontWeight.w300, + ), + ), + ), ) ], ),