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

Unified Diff: sky/examples/stocks/lib/stock_app.dart

Issue 1134163003: [Effen] Use the checkbox widget in the stocks app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix tests Created 5 years, 7 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/examples/stocks/lib/stock_menu.dart » ('j') | sky/framework/components/checkbox.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks/lib/stock_app.dart
diff --git a/sky/examples/stocks/lib/stock_app.dart b/sky/examples/stocks/lib/stock_app.dart
index f78dadda157a7c08198b38ee566308cbb258423e..aa35a5dd4a7e8c2e370a326a1c0fce743545995f 100644
--- a/sky/examples/stocks/lib/stock_app.dart
+++ b/sky/examples/stocks/lib/stock_app.dart
@@ -21,6 +21,11 @@ import 'stock_data.dart';
import 'stock_list.dart';
import 'stock_menu.dart';
+import 'dart:async';
+import 'package:sky/framework/layout.dart';
+
+const bool debug = false; // set to true to dump the DOM for debugging purposes
+
class StocksApp extends App {
DrawerController _drawerController = new DrawerController();
PopupMenuController _menuController;
@@ -39,6 +44,8 @@ class StocksApp extends App {
String _searchQuery;
StocksApp() : super() {
+ if (debug)
+ new Timer(new Duration(seconds: 1), dumpState);
new StockDataFetcher((StockData data) {
setState(() {
data.appendTo(_stocks);
« no previous file with comments | « no previous file | sky/examples/stocks/lib/stock_menu.dart » ('j') | sky/framework/components/checkbox.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698