hasLocalTopDistance function

RelativePositionAssert hasLocalTopDistance(
  1. double top,
  2. String parentTraitId
)

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

Implementation

RelativePositionAssert hasLocalTopDistance(double top, String parentTraitId) =>
    RelativePositionAssert.parentBounds(traitId: parentTraitId, top: top);