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

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

Issue 1037673002: Disentangle Material and InkSplash (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/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 2c3cb3aabc03088607cd013839d05ffd00783623..29e94ca48a7221f8e55929bf083b3964aebe6a94 100644
--- a/sky/framework/components/drawer.dart
+++ b/sky/framework/components/drawer.dart
@@ -126,7 +126,6 @@ class Drawer extends AnimatedComponent {
var mask = new EventTarget(
new Container(
- key: 'Mask',
style: _maskStyle,
inlineStyle: maskInlineStyle
),
@@ -134,13 +133,13 @@ class Drawer extends AnimatedComponent {
onGestureFlingStart: controller.handleFlingStart
);
- Node content = new StyleNode(
- new Material(
- key: 'Content',
+ Material content = new Material(
+ content: new Container(
+ style: _contentStyle,
inlineStyle: contentInlineStyle,
- children: children,
- level: level),
- _contentStyle);
+ children: children
+ ),
+ level: level);
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