From b18583f0af4952012f840f416042ac07407ab3ed Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 17 Jun 2015 12:36:56 -0700 Subject: [PATCH] Settings menu item in stock2 doesn't work The underlying problem is that we lacked a RenderObjectWrapper for the RenderView, which meant we couldn't handle changing the RenderObject that was the root of the RenderView. This CL introduces a RenderViewWrapper and uses it in a new AppContainer widget root. This change allows us to make App a non-magical Component that is inserted into the AppContainer in the newly introduced runApp function. R=ianh@google.com Review URL: https://codereview.chromium.org/1184823006. --- engine/src/flutter/home.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/home.dart b/engine/src/flutter/home.dart index a4ce45b172..bf6a4ac066 100644 --- a/engine/src/flutter/home.dart +++ b/engine/src/flutter/home.dart @@ -79,5 +79,5 @@ class SkyHome extends App { } void main() { - new SkyHome(); + runApp(new SkyHome()); }