X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=flutterfamilies%2Flib%2Fmain.dart;h=616542220e05b986fe1938eb5ff171ecb7f5ed6b;hb=e65feae2ff87ecbfa56eaec5f693354e52441918;hp=94f0152e335c5184f422a800760aa3e0c8c3b42d;hpb=8bf86e1f269edcbcf84bc8356f5c6334e0dc4a91;p=lmno.games diff --git a/flutterfamilies/lib/main.dart b/flutterfamilies/lib/main.dart index 94f0152..6165422 100644 --- a/flutterfamilies/lib/main.dart +++ b/flutterfamilies/lib/main.dart @@ -98,13 +98,27 @@ class _MyHomePageState extends State { mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start, children: [ + 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), ], ), ),