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

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

Issue 1006053002: Allow Effen Styles to be extendable (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sdfsd 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/drawer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/checkbox.dart
diff --git a/sky/framework/components/checkbox.dart b/sky/framework/components/checkbox.dart
index 64e9d748ae52c142cb22b8172b94c2be85b7179f..bc7e14a2bede5f9e4d04836443e31b74b5ef5be6 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(
- styles: [_style],
+ style: _style,
children: [
new Container(
- styles: [highlight ? _containerHighlightStyle : _containerStyle],
+ style: highlight ? _containerHighlightStyle : _containerStyle,
children: [
new Container(
- styles: [checked ? _checkedStyle : _uncheckedStyle]
+ style: checked ? _checkedStyle : _uncheckedStyle
)
]
)
« no previous file with comments | « sky/framework/components/button.dart ('k') | sky/framework/components/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698