summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f23187a)
The Center widget can't have margin, apparently, so we'll put it in
a Container which can.
// the App.build method, and use it to set our appbar title.
title: Text(widget.title),
),
// the App.build method, and use it to set our appbar title.
title: Text(widget.title),
),
+ 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(
// 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',
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',