Skip to content

Commit

Permalink
Modified start screen
Browse files Browse the repository at this point in the history
  • Loading branch information
tanweer919 committed Jul 26, 2020
1 parent ae53b84 commit 10eba62
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 17 deletions.
Binary file added assets/images/football_cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion assets/images/football_cover.svg

This file was deleted.

46 changes: 30 additions & 16 deletions lib/screens/StartScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,31 @@ class StartScreen extends StatelessWidget {
child: Container(
height: MediaQuery.of(context).size.height,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Container(
height: MediaQuery.of(context).size.height * 0.5,
child: Image.asset('assets/images/football_cover.svg'),
child: Image.asset('assets/images/football_cover.png'),
),
Text(
'Football just it was meant to be',
textAlign: TextAlign.center,
style: TextStyle(fontSize: 30, fontWeight: FontWeight.w600),
),
Flexible(
child: Container(
padding: EdgeInsets.symmetric(horizontal: 30.0),
child: Text(
'You can get football scores and news directly from your home...',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 15,
fontWeight: FontWeight.w400,
color: Color(0xff34648c),
),
),
)),
// Flexible(
// child: Container(
// padding: EdgeInsets.symmetric(horizontal: 30.0),
// child: Text(
// 'You can get football scores and news directly from your home...',
// textAlign: TextAlign.center,
// style: TextStyle(
// fontSize: 15,
// fontWeight: FontWeight.w400,
// color: Color(0xff34648c),
// ),
// ),
// )),
Padding(
padding: EdgeInsets.all(8.0),
child: Row(
Expand Down Expand Up @@ -107,7 +107,21 @@ class StartScreen extends StatelessWidget {
)
],
),
)
),
Divider(thickness: 0.7, color: Theme.of(context).primaryColor,),
Flexible(
child: Container(
padding: EdgeInsets.symmetric(horizontal: 30.0),
child: Text(
'Continue as guest...',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w400,
color: Color(0xff34648c),
),
),
))
],
),
),
Expand Down

0 comments on commit 10eba62

Please sign in to comment.