// 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(
],
),
),
+ ),
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',