renderObject property Null safety

ContainerRenderObjectMixin<RenderObject, ContainerParentDataMixin<RenderObject>> renderObject
override

The underlying RenderObject for this element.

If this element has been unmounted, this getter will throw.

Implementation

@override
ContainerRenderObjectMixin<RenderObject, ContainerParentDataMixin<RenderObject>> get renderObject {
  return super.renderObject as ContainerRenderObjectMixin<RenderObject, ContainerParentDataMixin<RenderObject>>;
}