positionType property

  1. @override
PositionType positionType
getter/setter pairoverride

What coordinate system this component should respect (i.e. should it observe camera, viewport, or use the raw canvas).

Do note that this currently only works if the component is added directly to the root FlameGame.

Implementation

@override
PositionType positionType = PositionType.viewport;