1 2 3 4 5 6 7 8 9 10 11 12 13 14
import 'package:flutter/material.dart'; class HomeScreen extends StatelessWidget { @override Widget build(BuildContext context) { return new Scaffold( appBar: new AppBar(title: new Text("Home"),), body: new Center( child: new Text("Welcome home!"), ), ); } }