Offset topLeft(Offset origin)

The offset to the intersection of the top and left edges of the rectangle described by the given Offset (which is interpreted as the top-left corner) and this Size.

See also Rect.topLeft.

Source

Offset topLeft(Offset origin) => origin;