Commit ee5f1146 authored by Collin Jackson's avatar Collin Jackson

Fix typo in syncRenderObject arguments

parent 8f95703a
...@@ -193,7 +193,7 @@ class Align extends OneChildRenderObjectWrapper { ...@@ -193,7 +193,7 @@ class Align extends OneChildRenderObjectWrapper {
RenderPositionedBox createNode() => new RenderPositionedBox(horizontal: horizontal, vertical: vertical); RenderPositionedBox createNode() => new RenderPositionedBox(horizontal: horizontal, vertical: vertical);
RenderPositionedBox get renderObject => super.renderObject; RenderPositionedBox get renderObject => super.renderObject;
void syncRenderObject(SizedBox old) { void syncRenderObject(Align old) {
super.syncRenderObject(old); super.syncRenderObject(old);
renderObject.horizontal = horizontal; renderObject.horizontal = horizontal;
renderObject.vertical = vertical; renderObject.vertical = vertical;
......
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