Commit ed03e96b authored by Kris Giesing's avatar Kris Giesing

Fix spinning_mixed widget example, plus minor style fix

parent 4df24abb
......@@ -33,7 +33,7 @@ class Rectangle extends StatelessWidget {
double value;
RenderObjectToWidgetElement<RenderBox> element;
BuildOwner owner;
BuildOwner owner = new BuildOwner();
void attachWidgetTreeToRenderTree(RenderProxyBox container) {
element = new RenderObjectToWidgetAdapter<RenderBox>(
container: container,
......
......@@ -807,9 +807,9 @@ abstract class Element implements BuildContext {
Widget get widget => _widget;
Widget _widget;
BuildOwner _owner;
/// The owner for this node (null if unattached).
BuildOwner get owner => _owner;
BuildOwner _owner;
bool _active = false;
......
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