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

Unified Diff: sky/examples/stocks2/lib/stock_menu.dart

Issue 1188573004: Fix stocks app usage of checkbox (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | sky/sdk/lib/widgets/checkbox.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
);
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/checkbox.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698