createRenderer method

  1. @override
RenderBox createRenderer([
  1. RenderObjectElement? flutterWidgetElement
])
override

Creates an instance of the RenderObject class that this RenderObjectNode represents, using the configuration described by this RenderObjectNode.

This method should not do anything with the children of the render object. That should instead be handled by the method that overrides

Implementation

@override
RenderBox createRenderer(
    [flutter.RenderObjectElement? flutterWidgetElement]) {
  return createRenderBoxModel(flutterWidgetElement: flutterWidgetElement)!;
}