Commit 40e7ecbf authored by Collin Jackson's avatar Collin Jackson

Enable render view override for stocks app to enable testing

This fixes the test

TBR=abarth

Review URL: https://codereview.chromium.org/1192533002.
parent a3a80969
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// 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/rendering/box.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/navigator.dart'; import 'package:sky/widgets/navigator.dart';
import 'package:sky/widgets/widget.dart'; import 'package:sky/widgets/widget.dart';
...@@ -10,6 +11,9 @@ import 'stock_home.dart'; ...@@ -10,6 +11,9 @@ import 'stock_home.dart';
import 'stock_settings.dart'; import 'stock_settings.dart';
class StocksApp extends App { class StocksApp extends App {
StocksApp({ RenderView renderViewOverride }) : super(renderViewOverride: renderViewOverride);
Widget build() { Widget build() {
return new Navigator( return new Navigator(
routes: [ routes: [
......
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