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 |
) |
] |
) |