hasTopDistance function

RelativePositionAssert hasTopDistance(
  1. double top
)

Returns a RelativePositionAssert with the distance to the global top bound.

Implementation

RelativePositionAssert hasTopDistance(double top) =>
    RelativePositionAssert.globalBounds(top: top);