Rectangle offset

Gets the offset of this element relative to its offsetParent.

Source

Rectangle get offset => new Rectangle(offsetLeft, offsetTop, offsetWidth,
    offsetHeight);