Index: sky/sdk/lib/framework/components2/menu_item.dart |
diff --git a/sky/sdk/lib/framework/components2/menu_item.dart b/sky/sdk/lib/framework/components2/menu_item.dart |
index f2806f9bb69624684570643799fe984990c7c9ea..4f4bd79a73893249352b8b3a3237040ad45ae0df 100644 |
--- a/sky/sdk/lib/framework/components2/menu_item.dart |
+++ b/sky/sdk/lib/framework/components2/menu_item.dart |
@@ -46,10 +46,7 @@ class MenuItem extends ButtonBase { |
), |
new FlexExpandingChild( |
new Padding( |
- child: new FlexContainer( |
- direction: FlexDirection.horizontal, |
- children: children |
- ), |
+ child: new Flex(children, direction: FlexDirection.horizontal), |
padding: const EdgeDims.symmetric(horizontal: 16.0) |
), |
flex: 1 |