mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Enable render view override for stocks app to enable testing
This fixes the test TBR=abarth Review URL: https://codereview.chromium.org/1192533002.
This commit is contained in:
parent
a3a80969a5
commit
40e7ecbf71
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user