renderObject property Null safety

RenderObjectWithChildMixin<T> renderObject
override

The underlying RenderObject for this element.

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

Implementation

@override
RenderObjectWithChildMixin<T> get renderObject => super.renderObject as RenderObjectWithChildMixin<T>;