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

Unified Diff: sky/framework/components/button.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/action_bar.dart ('k') | sky/framework/components/drawer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/button.dart
diff --git a/sky/framework/components/button.dart b/sky/framework/components/button.dart
index bcaa0ad4867fea02e6f3590bb37b0559becd2d4b..589253ab3d94cd61d6186ec2ac66ec32a77dc200 100644
--- a/sky/framework/components/button.dart
+++ b/sky/framework/components/button.dart
@@ -26,7 +26,9 @@ class Button extends Component {
Node build() {
return new StyleNode(
- new Material(children: [content], level: level),
+ new Material(
+ content: new InkWell(children: [content]),
+ level: level),
_style);
}
}
« no previous file with comments | « sky/framework/components/action_bar.dart ('k') | sky/framework/components/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698