From 197211e4902eaa4dd5ae980a950b2a77765a996d Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Thu, 17 Jan 2019 14:14:58 +0100 Subject: [PATCH] Main Screen: Put the GitJournal text below the logo It doesn't fit on my OnePlus5 otherwise, and the only other fix is making the logo super small. Though this information which I'm showing - the logo + text, is totally just filler info. It isn't required, as the user knows which app they launched. --- lib/screens/onboarding_screens.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/screens/onboarding_screens.dart b/lib/screens/onboarding_screens.dart index 44e00f1b..29de3896 100644 --- a/lib/screens/onboarding_screens.dart +++ b/lib/screens/onboarding_screens.dart @@ -312,14 +312,16 @@ class OnBoardingInitialChoice extends StatelessWidget { var headerTextStyle = Theme.of(context).textTheme.display3.copyWith(fontFamily: "Lato"); - var header = Row( + var header = Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, children: [ Image.asset( 'assets/icon/icon.png', height: 200, fit: BoxFit.fill, ), - SizedBox(width: 24.0), + SizedBox(height: 8.0), Text( "GitJournal", style: headerTextStyle, @@ -330,7 +332,7 @@ class OnBoardingInitialChoice extends StatelessWidget { return Container( child: Column( children: [ - header, + Center(child: header), SizedBox(height: 64.0), Text( "We need a Git Repo to store the data -",