InteractableComponentInstance constructor
InteractableComponentInstance({
- EdgeInsets padding = const EdgeInsets.all(0),
- Position position = const Position(x: 0, y: 0, positionType: PositionType.relative),
Creates an interactable component instance with optional layout properties.
The constructor allows setting initial padding
and position
values
which are passed to the parent ComponentInstance constructor.
Parameters:
padding
: Optional padding around the component's contentposition
: Optional positioning information for layout
Implementation
InteractableComponentInstance({super.padding, super.position});