centerLeft method

Offset centerLeft(
  1. Offset origin
)

The offset to the center of the left edge of the rectangle described by the given offset (which is interpreted as the top-left corner) and this size.

See also Rect.centerLeft.

Implementation

Offset centerLeft(Offset origin) => Offset(origin.dx, origin.dy + height / 2.0);