getTopLeft method Null safety

Offset getTopLeft (
  1. Finder finder
)

Returns the point at the top left of the given widget.

Implementation

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