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

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

Issue 1019443003: Remove the |style| parameter to InkWell (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/ink_well.dart ('k') | sky/framework/components/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/material.dart
diff --git a/sky/framework/components/material.dart b/sky/framework/components/material.dart
index b335785eae72cefa58b1a08c75d28a4a41760b13..245394cae6c05413e4b26a4f93d1417e713dc317 100644
--- a/sky/framework/components/material.dart
+++ b/sky/framework/components/material.dart
@@ -29,10 +29,8 @@ class Material extends Component {
this.level: 0 }) : super(key: key);
Node build() {
- return new InkWell(
- style: level > 0 ? style.extend(shadowStyle[level]) : style,
- inlineStyle: inlineStyle,
- children: children
- );
+ return new StyleNode(
+ new InkWell(inlineStyle: inlineStyle, children: children),
+ level > 0 ? style.extend(shadowStyle[level]) : style);
rafaelw 2015/03/25 16:56:01 indent
abarth-chromium 2015/03/25 17:43:53 This gets removed in a later CL, so I'm going to l
}
}
« no previous file with comments | « sky/framework/components/ink_well.dart ('k') | sky/framework/components/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698