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

Unified Diff: sky/sdk/lib/widgets/material_button.dart

Issue 1218153005: Refactoring to support dark theme better (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix import issues Created 5 years, 5 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/sdk/lib/widgets/material.dart ('k') | sky/sdk/lib/widgets/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/material_button.dart
diff --git a/sky/sdk/lib/widgets/material_button.dart b/sky/sdk/lib/widgets/material_button.dart
index f1513e5fbf5543623abe435180848ba3d66a92f0..e6a866ee0c5d3b6e5f4ea3e012aea4c17fcb43ed 100644
--- a/sky/sdk/lib/widgets/material_button.dart
+++ b/sky/sdk/lib/widgets/material_button.dart
@@ -42,6 +42,7 @@ abstract class MaterialButton extends ButtonBase {
constraints: new BoxConstraints(minWidth: 88.0),
margin: new EdgeDims.all(8.0),
child: new Material(
+ type: MaterialType.button,
child: enabled ? new InkWell(child: contents) : contents,
level: level,
color: color
« no previous file with comments | « sky/sdk/lib/widgets/material.dart ('k') | sky/sdk/lib/widgets/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698