getRect method
- FinderBase<
Element> finder
Returns the rect of the given widget. This is only valid once the widget's render object has been laid out at least once.
Implementation
Rect getRect(finders.FinderBase<Element> finder) => Rect.fromPoints(getTopLeft(finder), getBottomRight(finder));