bottomCenter method

Offset bottomCenter (
  1. Offset origin
)

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

See also Rect.bottomLeft.

Implementation

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