Rename Sky to Flutter in a few more places

This commit is contained in:
Adam Barth
2015-09-26 12:37:27 -07:00
parent 0a0a92eb45
commit a74d02dadf
29 changed files with 60 additions and 60 deletions

View File

@@ -70,12 +70,12 @@ void rotate(double timeStamp) {
void main() {
// Because we're going to use Widgets, we want to initialise its
// SkyBinding, not use the default one. We don't really need to do
// FlutterBinding, not use the default one. We don't really need to do
// this, because RenderBoxToWidgetAdapter does it for us, but
// it's good practice in case we happen to not have a
// RenderBoxToWidgetAdapter in our tree at startup, or in case we
// want a renderViewOverride.
WidgetSkyBinding.initWidgetSkyBinding();
WidgetFlutterBinding.initWidgetFlutterBinding();
RenderProxyBox proxy = new RenderProxyBox();
new RenderBoxToWidgetAdapter(proxy, builder); // adds itself to proxy
@@ -88,6 +88,6 @@ void main() {
transformBox = new RenderTransform(child: flexRoot, transform: new Matrix4.identity());
RenderPadding root = new RenderPadding(padding: new EdgeDims.all(80.0), child: transformBox);
SkyBinding.instance.renderView.child = root;
FlutterBinding.instance.renderView.child = root;
scheduler.addPersistentFrameCallback(rotate);
}