RectPoints constructor

RectPoints({
  1. required Vector2 topLeft,
  2. required Vector2 topRight,
  3. required Vector2 bottomLeft,
  4. required Vector2 bottomRight,
  5. Anchor anchor = Anchor.center,
})

Implementation

RectPoints({
  required this.topLeft,
  required this.topRight,
  required this.bottomLeft,
  required this.bottomRight,
  this.anchor = Anchor.center,
});