Skip to content

Instantly share code, notes, and snippets.

@Zambrella
Created September 22, 2019 15:38
Show Gist options
  • Save Zambrella/0b602626ce1f5d498c4c264bc4ac9360 to your computer and use it in GitHub Desktop.
Save Zambrella/0b602626ce1f5d498c4c264bc4ac9360 to your computer and use it in GitHub Desktop.
Basically styled results page with no functionality
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