Index: sky/framework/components/menu_item.dart |
diff --git a/sky/framework/components/menu_item.dart b/sky/framework/components/menu_item.dart |
index fbbde9d5961ae8fe01fb1ffb972afa5fb909b946..4db0d001656a922c123985012f13ccbf6cc7dd44 100644 |
--- a/sky/framework/components/menu_item.dart |
+++ b/sky/framework/components/menu_item.dart |
@@ -43,15 +43,15 @@ class MenuItem extends ButtonBase { |
Node build() { |
return new Material ( |
- styles: [highlight ? _highlightStyle : _style], |
+ style: highlight ? _highlightStyle : _style, |
children: [ |
new Icon( |
- styles: [_iconStyle], |
+ style: _iconStyle, |
size: 24, |
type: "${icon}_grey600" |
), |
new Container( |
- styles: [_labelStyle], |
+ style: _labelStyle, |
children: children |
) |
] |