Index: sky/sdk/lib/framework/widgets/menu_item.dart |
diff --git a/sky/sdk/lib/framework/widgets/menu_item.dart b/sky/sdk/lib/framework/widgets/menu_item.dart |
index 52d1c5310e0a6061001faa78a8221e5b272cf9e3..b06134a7035a202d28988d8ed090247a2803e9d8 100644 |
--- a/sky/sdk/lib/framework/widgets/menu_item.dart |
+++ b/sky/sdk/lib/framework/widgets/menu_item.dart |
@@ -40,7 +40,7 @@ class MenuItem extends ButtonBase { |
return new EventListenerNode( |
new Container( |
child: new InkWell( |
- children: [ |
+ child: new Flex([ |
new Padding( |
child: new Icon(type: "${icon}_grey600", size: 24), |
padding: const EdgeDims.symmetric(horizontal: 16.0) |
@@ -52,7 +52,7 @@ class MenuItem extends ButtonBase { |
), |
flex: 1 |
) |
- ] |
+ ]) |
), |
height: 48.0, |
decoration: highlight ? _kHighlightDecoration : _kHighlightBoring |