Creates a new offset from a coordinate pair (x, y).
(x, y)
factory Offset.from((int x, int y) pair) { final (x, y) = pair; return Offset(x, y); }