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