createRenderObject method - RenderObjectWidget class - widgets library (original) (raw)
RenderObject createRenderObject(
- BuildContext context )
Creates an instance of the RenderObject class that thisRenderObjectWidget represents, using the configuration described by thisRenderObjectWidget.
This method should not do anything with the children of the render object. That should instead be handled by the method that overridesRenderObjectElement.mount in the object rendered by this object'screateElement method. See, for example,SingleChildRenderObjectElement.mount.
Implementation
@protected
@factory
RenderObject createRenderObject(BuildContext context);