From 2ae784e5d43779e8c1096c16a9e15166c7ac244f Mon Sep 17 00:00:00 2001 From: RoaaGhali98 Date: Wed, 5 Jan 2022 11:27:26 +0200 Subject: [PATCH] fix schedule appBar --- lib/landing_page.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/landing_page.dart b/lib/landing_page.dart index 89faeb0c..5d02fa20 100644 --- a/lib/landing_page.dart +++ b/lib/landing_page.dart @@ -49,16 +49,14 @@ class _LandingPageState extends State { backgroundColor: HexColor('#FFFFFF'), //textTheme: TextTheme(headline6: TextStyle(color: Colors.white)), title: currentTab != 0 - ? Padding( - padding: const EdgeInsets.only(right: 188,top: 36), - child: AppText( + ? AppText( getText(currentTab), letterSpacing: -1.44, fontWeight: FontWeight.w700, fontSize: 24.0, color: Color(0xff2B353E), - ), - ) + ) + : SizedBox(), leading: Builder( builder: (BuildContext context) {