]> git.cworth.org Git - lmno.games/commitdiff
Make space for showing the full list of players
authorKevin Worth <kworth082@gmail.com>
Fri, 8 May 2020 12:59:50 +0000 (08:59 -0400)
committerCarl Worth <cworth@cworth.org>
Sat, 23 May 2020 13:49:00 +0000 (06:49 -0700)
Up to now, the widgets were centered on the screen. With them now moved
up to the top, there is room to show the list of players at the bottom.

flutterempires/lib/main.dart

index 0d574045a4f04c4a3115c65adc0d9e4abaffec60..7d972a3a44b1655b0fa9f88aa02337da3cec226f 100644 (file)
@@ -95,7 +95,7 @@ class _MyHomePageState extends State<MyHomePage> {
             mainAxisAlignment: MainAxisAlignment.center,
             crossAxisAlignment: CrossAxisAlignment.start,
             children: <Widget>[
-              Spacer(flex: 10),
+              Spacer(flex: 1),
               Text(
                 'Name:',
                 style: Theme.of(context).textTheme.headline4,