Make the limit that defines Row/Column free space configurable (#4646)

This commit is contained in:
Hans Muller
2016-06-21 14:29:22 -07:00
committed by GitHub
parent fad7cf59e3
commit 0e38cba95f
17 changed files with 892 additions and 163 deletions

View File

@@ -261,7 +261,7 @@ class IconWithText extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Row(
mainAxisAlignment: MainAxisAlignment.collapse,
mainAxisSize: MainAxisSize.min,
children: <Widget>[
new IconButton(
icon: new Icon(icon),
@@ -282,7 +282,7 @@ class MiniIconWithText extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Row(
mainAxisAlignment: MainAxisAlignment.collapse,
mainAxisSize: MainAxisSize.min,
children: <Widget>[
new Padding(
padding: new EdgeInsets.only(right: 8.0),