CircleComponent constructor
CircleComponent({})
With this constructor you can create your CircleComponent from a radius and a position. It will also calculate the bounding rectangle size for the CircleComponent.
Implementation
CircleComponent({
double? radius,
super.position,
super.scale,
super.angle,
super.anchor,
super.children,
super.priority,
super.paint,
super.paintLayers,
super.key,
}) : super(size: Vector2.all((radius ?? 0) * 2));