InteractableComponentInstance constructor

InteractableComponentInstance({
  1. EdgeInsets padding = const EdgeInsets.all(0),
  2. 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 content
  • position: Optional positioning information for layout

Implementation

InteractableComponentInstance({super.padding, super.position});