Index: sky/examples/stocks2/lib/stock_menu.dart |
diff --git a/sky/examples/stocks2/lib/stock_menu.dart b/sky/examples/stocks2/lib/stock_menu.dart |
index 3e555961227f3470944839c1ce22e449fe207351..790f6c1ddc332cb91727952c4e68f0e0a16b7dc5 100644 |
--- a/sky/examples/stocks2/lib/stock_menu.dart |
+++ b/sky/examples/stocks2/lib/stock_menu.dart |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
import 'package:sky/widgets/checkbox.dart'; |
+import 'package:sky/widgets/toggleable.dart'; |
import 'package:sky/widgets/popup_menu.dart'; |
import 'package:sky/widgets/basic.dart'; |
import 'package:sky/framework/theme/view_configuration.dart'; |
@@ -22,7 +23,7 @@ class StockMenu extends Component { |
UINode build() { |
var checkbox = new Checkbox( |
- checked: this.autorefresh, |
+ value: this.autorefresh, |
onChanged: this.onAutorefreshChanged |
); |