X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=flutterfamilies%2Flib%2Fmain.dart;h=92cda02bbd2790a997d0da757c23c00533d2644a;hb=bf08e0c191da0ed326646f664fe3248e46b835d5;hp=95bd114177ed682ea250b164ec90e76a54683557;hpb=a7ce9d1ced03e3d60b11dfb10324743fe67a5555;p=lmno.games diff --git a/flutterfamilies/lib/main.dart b/flutterfamilies/lib/main.dart index 95bd114..92cda02 100644 --- a/flutterfamilies/lib/main.dart +++ b/flutterfamilies/lib/main.dart @@ -9,7 +9,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - title: 'Families Game', + title: 'Empires', theme: ThemeData( // This is the theme of your application. // @@ -26,7 +26,7 @@ class MyApp extends StatelessWidget { // closer together (more dense) than on mobile platforms. visualDensity: VisualDensity.adaptivePlatformDensity, ), - home: MyHomePage(title: 'Families / Empires'), + home: MyHomePage(title: 'Empires'), ); } } @@ -80,23 +80,7 @@ class _MyHomePageState extends State { body: new Container( margin: const EdgeInsets.only(left: 20.0, right: 20.0), child : Center( - // Center is a layout widget. It takes a single child and positions it - // in the middle of the parent. child: Column( - // Column is also a layout widget. It takes a list of children and - // arranges them vertically. By default, it sizes itself to fit its - // children horizontally, and tries to be as tall as its parent. - // - // Invoke "debug painting" (press "p" in the console, choose the - // "Toggle Debug Paint" action from the Flutter Inspector in Android - // Studio, or the "Toggle Debug Paint" command in Visual Studio Code) - // to see the wireframe for each widget. - // - // Column has various properties to control how it sizes itself and - // how it positions its children. Here we use mainAxisAlignment to - // center the children vertically; the main axis here is the vertical - // axis because Columns are vertical (the cross axis would be - // horizontal). mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start, children: [ @@ -117,7 +101,7 @@ class _MyHomePageState extends State { ), TextField( decoration: InputDecoration( - hintText: 'Enter your family/empire name', + hintText: 'Enter your empire character name', ), ), Spacer(flex: 10),