Created
March 1, 2018 14:47
-
-
Save anilcancakir/7b6269903bc48eeba52a37e988f96160 to your computer and use it in GitHub Desktop.
AboutPage class for my routing story.
This file contains hidden or 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
| import 'package:flutter/material.dart'; | |
| // About page... | |
| class AboutPage extends StatefulWidget { | |
| @override | |
| State<StatefulWidget> createState() { | |
| return new _AboutPageState(); | |
| } | |
| } | |
| class _AboutPageState extends State<AboutPage> { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new Scaffold( | |
| appBar: new AppBar( | |
| title: new Text('About Us'), | |
| ), | |
| body: new Center( | |
| child: new Text('You are in the about page!') | |
| ), | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment