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

Unified Diff: sky/framework/components/drawer.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/button.dart ('k') | sky/framework/components/floating_action_button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/drawer.dart
diff --git a/sky/framework/components/drawer.dart b/sky/framework/components/drawer.dart
index 78b61b968a5bd89251ac9a57fc04961b546e1c85..2c3cb3aabc03088607cd013839d05ffd00783623 100644
--- a/sky/framework/components/drawer.dart
+++ b/sky/framework/components/drawer.dart
@@ -134,13 +134,13 @@ class Drawer extends AnimatedComponent {
onGestureFlingStart: controller.handleFlingStart
);
- Material content = new Material(
- key: 'Content',
- style: _contentStyle,
- inlineStyle: contentInlineStyle,
- children: children,
- level: level
- );
+ Node content = new StyleNode(
+ new Material(
+ key: 'Content',
+ inlineStyle: contentInlineStyle,
+ children: children,
+ level: level),
+ _contentStyle);
return new EventTarget(
new Container(
« no previous file with comments | « sky/framework/components/button.dart ('k') | sky/framework/components/floating_action_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698