createRenderElement method

  1. @override
RenderElement createRenderElement(
  1. RenderElement parent
)
override

Create element for current widget.

Framework will call this method when it inflates current widget for the first time at specific position in widget tree. Each RenderElement inherits number of properties from its parent, therefore framework will call this method and pass it a reference to parent element of this widget.

Implementation

@override
createRenderElement(parent) => IFrameRenderObject(this, parent);