renderObject property Null safety

RenderObject renderObject
override

The underlying RenderObject for this element.

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

Implementation

@override
RenderObject get renderObject {
  assert(_renderObject != null, '$runtimeType unmounted');
  return _renderObject!;
}