From: Kevin Worth Date: Mon, 27 Apr 2020 12:47:01 +0000 (-0400) Subject: Add some space in between TextFields for aesthetics X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=e65feae2ff87ecbfa56eaec5f693354e52441918 Add some space in between TextFields for aesthetics --- diff --git a/flutterfamilies/lib/main.dart b/flutterfamilies/lib/main.dart index 44855ed..6165422 100644 --- a/flutterfamilies/lib/main.dart +++ b/flutterfamilies/lib/main.dart @@ -98,6 +98,7 @@ class _MyHomePageState extends State { mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start, children: [ + Spacer(flex: 10), Text( 'Name:', style: Theme.of(context).textTheme.headline4, @@ -107,6 +108,7 @@ class _MyHomePageState extends State { hintText: 'Enter your (real) name', ), ), + Spacer(), Text( 'Character:', style: Theme.of(context).textTheme.headline4, @@ -116,6 +118,7 @@ class _MyHomePageState extends State { hintText: 'Enter your family/empire name', ), ), + Spacer(flex: 10), ], ), ),