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.
This commit is contained in:
Vishesh Handa
2019-01-17 14:14:58 +01:00
parent fa5db149c8
commit 197211e490

View File

@ -312,14 +312,16 @@ class OnBoardingInitialChoice extends StatelessWidget {
var headerTextStyle = var headerTextStyle =
Theme.of(context).textTheme.display3.copyWith(fontFamily: "Lato"); Theme.of(context).textTheme.display3.copyWith(fontFamily: "Lato");
var header = Row( var header = Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Image.asset( Image.asset(
'assets/icon/icon.png', 'assets/icon/icon.png',
height: 200, height: 200,
fit: BoxFit.fill, fit: BoxFit.fill,
), ),
SizedBox(width: 24.0), SizedBox(height: 8.0),
Text( Text(
"GitJournal", "GitJournal",
style: headerTextStyle, style: headerTextStyle,
@ -330,7 +332,7 @@ class OnBoardingInitialChoice extends StatelessWidget {
return Container( return Container(
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
header, Center(child: header),
SizedBox(height: 64.0), SizedBox(height: 64.0),
Text( Text(
"We need a Git Repo to store the data -", "We need a Git Repo to store the data -",