]> git.cworth.org Git - lmno.games/blobdiff - flutterfamilies/lib/main.dart
Add TextField for entering (real) name
[lmno.games] / flutterfamilies / lib / main.dart
index 94f0152e335c5184f422a800760aa3e0c8c3b42d..ae9604574facc4526e7d077044068ab7fbca47b0 100644 (file)
@@ -99,12 +99,14 @@ class _MyHomePageState extends State<MyHomePage> {
           crossAxisAlignment: CrossAxisAlignment.start,
           children: <Widget>[
             Text(
-              'You have pushed the button this many times:',
-            ),
-            Text(
-              '$_counter',
+              'Name:',
               style: Theme.of(context).textTheme.headline4,
             ),
+            TextField(
+              decoration: InputDecoration(
+                hintText: 'Enter your (real) name',
+              ),
+            ),
           ],
         ),
       ),