提交 bc68bc57 编写于 作者: C 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.
上级 f26af0d0
......@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/rendering/box.dart';
import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/navigator.dart';
import 'package:sky/widgets/widget.dart';
......@@ -10,6 +11,9 @@ import 'stock_home.dart';
import 'stock_settings.dart';
class StocksApp extends App {
StocksApp({ RenderView renderViewOverride }) : super(renderViewOverride: renderViewOverride);
Widget build() {
return new Navigator(
routes: [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册