getBoundingClientRect method

Rectangle<num> getBoundingClientRect()

Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.

Other resources

Implementation

Rectangle getBoundingClientRect() => Rectangle(0, 0, 0, 0);