]> git.cworth.org Git - lmno.games/blobdiff - flutterfamilies/lib/main.dart
Add some space in between TextFields for aesthetics
[lmno.games] / flutterfamilies / lib / main.dart
index 94f0152e335c5184f422a800760aa3e0c8c3b42d..616542220e05b986fe1938eb5ff171ecb7f5ed6b 100644 (file)
@@ -98,13 +98,27 @@ class _MyHomePageState extends State<MyHomePage> {
           mainAxisAlignment: MainAxisAlignment.center,
           crossAxisAlignment: CrossAxisAlignment.start,
           children: <Widget>[
+            Spacer(flex: 10),
             Text(
-              'You have pushed the button this many times:',
+              'Name:',
+              style: Theme.of(context).textTheme.headline4,
+            ),
+            TextField(
+              decoration: InputDecoration(
+                hintText: 'Enter your (real) name',
+              ),
             ),
+            Spacer(),
             Text(
-              '$_counter',
+              'Character:',
               style: Theme.of(context).textTheme.headline4,
             ),
+            TextField(
+              decoration: InputDecoration(
+                hintText: 'Enter your family/empire name',
+              ),
+            ),
+            Spacer(flex: 10),
           ],
         ),
       ),