hasLocalBounds function
Returns a [RelativePositionAssert with the given bounds within the parents bounds.
Implementation
RelativePositionAssert hasLocalBounds(Rect rect, String parentTraitId) =>
RelativePositionAssert.parent(
traitId: parentTraitId,
left: rect.left,
top: rect.top,
right: rect.right,
bottom: rect.bottom,
);