Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1092)

Unified Diff: sky/framework/components/menu_item.dart

Issue 1007893005: Clean up stock_app.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/components/icon_button.dart ('k') | sky/framework/components/scaffold.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/menu_item.dart
diff --git a/sky/framework/components/menu_item.dart b/sky/framework/components/menu_item.dart
index fe31bf9b7429a3b42ea1a4df5fdf201bb8d6207b..48a5d5fecdf28374f105692cc75f937785688795 100644
--- a/sky/framework/components/menu_item.dart
+++ b/sky/framework/components/menu_item.dart
@@ -43,10 +43,12 @@ class MenuItem extends ButtonBase {
return new InkWell (
style: highlight ? _highlightStyle : _style,
children: [
- new Icon(
- style: _iconStyle,
- size: 24,
- type: "${icon}_grey600"
+ new StyleNode(
+ new Icon(
+ size: 24,
+ type: "${icon}_grey600"
+ ),
+ _iconStyle
),
new Container(
style: _labelStyle,
« no previous file with comments | « sky/framework/components/icon_button.dart ('k') | sky/framework/components/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698