RenderObjectExtension extension

An extension for RenderObject.

on

Methods

getBoundInAncestorCoordinate([RenderObject? ancestor]) Rect
Returns the Rect which contains the size (semantic bound size) and position (in the coordinate system of root node if given ancestor is null) of render object.
toRenderBox() RenderBox?
Casts the RenderObject to RenderBox.