Point 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.

Source

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