hasLocalRightDistance function

RelativePositionAssert hasLocalRightDistance(
  1. double right,
  2. String parentTraitId
)

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

Implementation

RelativePositionAssert hasLocalRightDistance(
  double right,
  String parentTraitId,
) =>
    RelativePositionAssert.parentBounds(traitId: parentTraitId, right: right);