getRect method Null safety
- Finder 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(Finder finder) => Rect.fromPoints(getTopLeft(finder), getBottomRight(finder));