ExpandedComponent constructor

ExpandedComponent({
  1. ComponentKey? key,
  2. Vector2? position,
  3. Anchor? anchor,
  4. int? priority,
  5. bool inflateChild = true,
  6. PositionComponent? child,
})

Implementation

ExpandedComponent({
  super.key,
  super.position,
  super.anchor,
  super.priority,
  this.inflateChild = true,
  super.child,
}) : super(size: null);