measureSync abstract method
Returns a dimension client rectangle for element.
If offset is true, returns the offset positions from the parent instead
of absolute.
Throws StateError if element is not within the live DOM.
Implementation
Rectangle measureSync(E element, {bool offset = false});