position property

Vector2 position
inherited

Implementation

Vector2 get position => _position;
  1. @override
void position=(Vector2 value)
override

Implementation

@override
set position(Vector2 value) {
  super.position = value;

  rect.position = value;
  center = value.translate(radius, radius);
  offsetToDraw = Offset(position.x + radius, position.y + radius);
}