Merge pull request #2881 from abarth/from_ltrb

Replace EdgeInsets.TRBL with EdgeInsets.fromLTRB
This commit is contained in:
Adam Barth
2016-03-24 15:56:44 -07:00
8 changed files with 39 additions and 32 deletions

View File

@@ -78,7 +78,7 @@ class _TabsFabDemoState extends State<TabsFabDemo> {
return new Container(
key: new ValueKey<String>(page.label),
padding: const EdgeInsets.TRBL(48.0, 48.0, 96.0, 48.0),
padding: const EdgeInsets.fromLTRB(48.0, 48.0, 48.0, 96.0),
child: new Card(
child: new Center(
child: new Text(page.label, style: textStyle)

View File

@@ -72,7 +72,7 @@ class StockRow extends StatelessWidget {
onDoubleTap: _getHandler(onDoubleTap),
onLongPress: _getHandler(onLongPressed),
child: new Container(
padding: const EdgeInsets.TRBL(16.0, 16.0, 20.0, 16.0),
padding: const EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 20.0),
decoration: new BoxDecoration(
border: new Border(
bottom: new BorderSide(color: Theme.of(context).dividerColor)