Instantly share code, notes, and snippets.

What would you like to do?
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
_MyHomePageState createState() => new _MyHomePageState();
class _MyHomePageState extends State<MyHomePage> {
Widget build(BuildContext context) {
// here's where the UI tree is built and returned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment