createRenderObject method
Creates the render object that will perform the actual layout and painting.
Returns a RenderLayoutBox configured with all the viewport properties. This render object handles the complex layout calculations and rendering logic.
Implementation
@override
RenderObject createRenderObject(BuildContext context) {
return RenderLayoutBox(
layoutTextDirection: textDirection,
reversePaint: reversePaint,
mainScrollDirection: mainScrollDirection,
horizontal: horizontal,
vertical: vertical,
horizontalAxisDirection: horizontalAxisDirection,
verticalAxisDirection: verticalAxisDirection,
boxLayout: layout,
horizontalOverflow: horizontalOverflow,
verticalOverflow: verticalOverflow,
layoutTextBaseline: textBaseline,
borderRadius: borderRadius,
clipBehavior: clipBehavior,
);
}