PositionedComponentInstance constructor
PositionedComponentInstance({
- required ComponentInstance componentInstance,
- required Rect rect,
- ComponentInstance? parentComponentInstance,
Creates a positioned component instance with the given bounds.
Parameters:
componentInstance
: The component to be positionedrect
: The final position and size of the componentparentComponentInstance
: Optional parent component responsible for rendering
Implementation
PositionedComponentInstance({
required this.componentInstance,
required this.rect,
this.parentComponentInstance,
});