ComponentInstance constructor
ComponentInstance({
- EdgeInsets padding = const EdgeInsets.all(0),
- Position position = const Position(x: 0, y: 0, positionType: PositionType.relative),
Creates a ComponentInstance with optional padding
and position
.
Implementation
ComponentInstance({
this.padding = const EdgeInsets.all(0),
this.position = const Position(
x: 0,
y: 0,
positionType: PositionType.relative,
),
});