Created
September 22, 2019 15:38
-
-
Save Zambrella/0b602626ce1f5d498c4c264bc4ac9360 to your computer and use it in GitHub Desktop.
Basically styled results page with no functionality
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ResultsPage extends StatefulWidget { | |
@override | |
_ResultsPageState createState() => _ResultsPageState(); | |
} | |
class _ResultsPageState extends State<ResultsPage> { | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
margin: EdgeInsets.symmetric( | |
vertical: kVerticalMargin, horizontal: kHorizontalMargin), | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
Text( | |
'You are in the top', | |
style: kSecondaryTextStyle, | |
), | |
Text( | |
'23%', | |
style: kPrimaryTextStyle, | |
), | |
SizedBox( | |
height: kSizedBoxHeight, | |
), | |
SizedBox( | |
width: double.infinity, | |
child: RaisedButton( | |
onPressed: null, | |
child: Text( | |
'BACK', | |
style: kButtonTextStyle, | |
), | |
), | |
), | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment