X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=flutterfamilies%2Flib%2Fmain.dart;h=1f2d410b324a51215aed2de879314c08815f2a3b;hp=616542220e05b986fe1938eb5ff171ecb7f5ed6b;hb=0551423accbc0c9fb91ec3ca42cc7c87081f7eff;hpb=f23187afc1b3dc2a02158934748cd02404860a32 diff --git a/flutterfamilies/lib/main.dart b/flutterfamilies/lib/main.dart index 6165422..1f2d410 100644 --- a/flutterfamilies/lib/main.dart +++ b/flutterfamilies/lib/main.dart @@ -77,7 +77,9 @@ class _MyHomePageState extends State { // the App.build method, and use it to set our appbar title. title: Text(widget.title), ), - body: Center( + body: new Container( + margin: const EdgeInsets.only(left: 20.0, right: 20.0), + child : Center( // Center is a layout widget. It takes a single child and positions it // in the middle of the parent. child: Column( @@ -122,6 +124,7 @@ class _MyHomePageState extends State { ], ), ), + ), floatingActionButton: FloatingActionButton( onPressed: _incrementCounter, tooltip: 'Increment',