Commit 29dee5f3 authored by Collin Jackson's avatar Collin Jackson

Update Chart to use new LeafRenderObjectWrapper API

parent 33841160
......@@ -23,8 +23,8 @@ class Chart extends LeafRenderObjectWrapper {
void syncRenderObject(Widget old) {
super.syncRenderObject(old);
root.textTheme = Theme.of(this).text;
root.data = data;
renderObject.textTheme = Theme.of(this).text;
renderObject.data = data;
}
}
......
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