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

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

Issue 1030963005: Remove the |style| parameter from Material (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: type fix 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/material.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/popup_menu.dart
diff --git a/sky/framework/components/popup_menu.dart b/sky/framework/components/popup_menu.dart
index c3bf1afb15598b0dda0887511c17aa5c9cf3c3bd..d5a2e89939dda14362d64406fcc37e4f873e2b38 100644
--- a/sky/framework/components/popup_menu.dart
+++ b/sky/framework/components/popup_menu.dart
@@ -87,10 +87,11 @@ class PopupMenu extends AnimatedComponent {
return new PopupMenuItem(key: i++, children: item, opacity: opacity);
}));
- return new Material(
- style: _style,
- inlineStyle: _inlineStyle(),
- children: children,
- level: level);
+ return new StyleNode(
+ new Material(
+ inlineStyle: _inlineStyle(),
+ children: children,
+ level: level),
+ _style);
}
}
« no previous file with comments | « sky/framework/components/material.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698