Commit 6374d647 authored by Hixie's avatar Hixie

Make it possible to test that the stock app doesn't crash on startup and...

Make it possible to test that the stock app doesn't crash on startup and paints the basic scaffold more or less correctly.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1177043008.
parent 27ec875a
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/framework/app.dart';
import 'package:sky/framework/editing2/input.dart'; import 'package:sky/framework/editing2/input.dart';
import 'package:sky/framework/rendering/box.dart';
import 'package:sky/framework/theme2/colors.dart' as colors; import 'package:sky/framework/theme2/colors.dart' as colors;
import 'package:sky/framework/widgets/drawer.dart'; import 'package:sky/framework/widgets/drawer.dart';
import 'package:sky/framework/widgets/drawer_header.dart'; import 'package:sky/framework/widgets/drawer_header.dart';
...@@ -32,7 +34,7 @@ class StocksApp extends App { ...@@ -32,7 +34,7 @@ class StocksApp extends App {
List<Stock> _stocks = []; List<Stock> _stocks = [];
StocksApp() : super() { StocksApp({ RenderView renderViewOverride }) : super(renderViewOverride: renderViewOverride) {
// if (debug) // if (debug)
// new Timer(new Duration(seconds: 1), dumpState); // new Timer(new Duration(seconds: 1), dumpState);
new StockDataFetcher((StockData data) { new StockDataFetcher((StockData data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment