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

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

Issue 1003553002: Update Button to be made of Material (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
Index: sky/framework/components/checkbox.dart
diff --git a/sky/framework/components/checkbox.dart b/sky/framework/components/checkbox.dart
index c2c172971a20ce1344e371171470fe7a1b2637dd..132ea87cdcbe9a694854007abd09b3239896ed33 100644
--- a/sky/framework/components/checkbox.dart
+++ b/sky/framework/components/checkbox.dart
@@ -68,13 +68,13 @@ class Checkbox extends ButtonBase {
Node build() {
return new Container(
- style: _style,
+ styles: [_style],
children: [
new Container(
- style: highlight ? _containerHighlightStyle : _containerStyle,
+ styles: [highlight ? _containerHighlightStyle : _containerStyle],
children: [
new Container(
- style: checked ? _checkedStyle : _uncheckedStyle
+ styles: [checked ? _checkedStyle : _uncheckedStyle]
)
]
)

Powered by Google App Engine
This is Rietveld 408576698