CollisionArea.circle constructor

CollisionArea.circle({
  1. required double radius,
  2. Vector2? align,
})

Implementation

CollisionArea.circle({
  required double radius,
  Vector2? align,
})  : shape = CircleShape(radius),
      align = align ?? Vector2.zero();