From a699740897f8e88bb60fcffdb4f8a2dbc97dd92e Mon Sep 17 00:00:00 2001 From: "Mirza.Shafique" Date: Thu, 12 Aug 2021 14:01:54 +0300 Subject: [PATCH] Medical File Fonts Implementation --- .../medical/time_line_new_widget.dart | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/lib/widgets/data_display/medical/time_line_new_widget.dart b/lib/widgets/data_display/medical/time_line_new_widget.dart index 458875ed..4fe33e4a 100644 --- a/lib/widgets/data_display/medical/time_line_new_widget.dart +++ b/lib/widgets/data_display/medical/time_line_new_widget.dart @@ -102,16 +102,19 @@ class _TimeLineViewState extends State { TranslationBase.of(context).appointments, style: TextStyle( color: CustomColors.white, - fontSize: 14, + fontSize: 12, fontWeight: FontWeight.bold, + letterSpacing: -0.72, ), ), Text( TranslationBase.of(context).timeLine, style: TextStyle( color: CustomColors.white, - fontSize: 24, + fontSize: 20, fontWeight: FontWeight.bold, + letterSpacing: -1.44, + height: 1.2, ), ), ], @@ -205,16 +208,19 @@ class _TimeLineViewState extends State { TranslationBase.of(context).appointments, style: TextStyle( color: CustomColors.white, - fontSize: 14, - fontWeight: FontWeight.bold, + fontSize: 12, + fontWeight: FontWeight.w600, + letterSpacing: -0.72, ), ), Text( TranslationBase.of(context).timeLine, style: TextStyle( color: CustomColors.white, - fontSize: 24, + fontSize: 22, fontWeight: FontWeight.bold, + letterSpacing: -1.44, + height: 1.2, ), ), ], @@ -226,6 +232,7 @@ class _TimeLineViewState extends State { color: Colors.white, fontWeight: FontWeight.bold, fontSize: 14, + letterSpacing: -0.42, ), ), mHeight(4), @@ -245,7 +252,11 @@ class _TimeLineViewState extends State { child: AutoSizeText( TranslationBase.of(context).login, maxLines: 1, - style: TextStyle(color: Colors.white, fontSize: 14), + style: TextStyle( + color: Colors.white, + fontSize: 12, + letterSpacing: -0.33, + ), ), ), ), @@ -297,6 +308,8 @@ class TimelineNewWidget extends StatelessWidget { ), style: TextStyle( color: CustomColors.grey2, + fontSize: 12, + height: 1.2, ), ), mWidth(8), @@ -324,7 +337,9 @@ class TimelineNewWidget extends StatelessWidget { appoitmentAllHistoryResul.doctorNameObj, style: TextStyle( color: CustomColors.white, - fontSize: 12, + fontSize: 10, + fontWeight: FontWeight.w600, + letterSpacing: -0.36, ), ), Text( @@ -332,7 +347,8 @@ class TimelineNewWidget extends StatelessWidget { style: TextStyle( color: CustomColors.grey2, fontSize: 8, - fontWeight: FontWeight.bold, + fontWeight: FontWeight.w600, + letterSpacing: -0.36, ), ), ],