Rect operator &(Size other)

Rectangle constructor operator. Combines an offset and a Size to form a Rect whose top-left coordinate is the point given by adding this offset, the left-hand-side operand, to the origin, and whose size is the right-hand-side operand.

  Rect myRect = Offset.zero & const Size(100.0, 100.0);
  // same as: new Rect.fromLTWH(0.0, 0.0, 100.0, 100.0)

See also: Point.&

Source

Rect operator &(Size other) => new Rect.fromLTWH(dx, dy, other.width, other.height);