Location constructor

Location(
  1. String id,
  2. Offset offset
)

Implementation

Location(this.id, this.offset) {
  rect = Rect.fromCircle(center: offset, radius: 26);
}