getTopRight method

Offset getTopRight (Finder finder)

Returns the point at the top right of the given widget. This point is not inside the object's hit test area.

Implementation

Offset getTopRight(Finder finder) {
  return _getElementPoint(finder, (Size size) => size.topRight(Offset.zero));
}