assertion_factory library

Functions

bottomIsEqual(double value) RelationAssert
Returns a RelationAssert which checks whether bottom is equal value.
bottomIsGreaterThan(double value) RelationAssert
Returns a RelationAssert which checks whether bottom is greater than value.
bottomIsGreaterThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether bottom is greater than or equal value.
bottomIsLessThan(double value) RelationAssert
Returns a RelationAssert which checks whether bottom is less than value.
bottomIsLessThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether bottom is less than or equal value.
bottomIsUnEqual(double value) RelationAssert
Returns a RelationAssert which checks whether bottom is unequal value.
hasBottom(double bottom) PositionAssert
Returns a PositionAssert with the given bottom value.
hasBottomDistance(double bottom) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the global bottom bound.
hasBottomDistanceTo(double bottom, String traitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to a bottom target.
hasBounds(Rect rect) PositionAssert
Returns a [PositionAssert with the given bounds.
hasDimension(Size size) SizeAssert
Returns a SizeAssert with the given dimension.
hasHeight(double height) SizeAssert
Returns a SizeAssert with the given height.
hasLeft(double left) PositionAssert
Returns a PositionAssert with the given left value.
hasLeftDistance(double left) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the global left bound.
hasLeftDistanceTo(double left, String traitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to a left target.
hasLocalBottom(double bottom, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given bottom value within the parents bounds.
hasLocalBottomDistance(double bottom, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the parents bottom bound.
hasLocalBounds(Rect rect, String parentTraitId) RelativePositionAssert
Returns a [RelativePositionAssert with the given bounds within the parents bounds.
hasLocalLeft(double left, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given left value within the parents bounds.
hasLocalLeftDistance(double left, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the parents left bound.
hasLocalLocation(double x, double y, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given location within the parents bounds.
hasLocalOffset(Offset offset, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given offset within the parents bounds.
hasLocalPosition(double left, double top, double right, double bottom, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given position infos within the parents bounds.
hasLocalRight(double right, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given right value within the parents bounds.
hasLocalRightDistance(double right, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the parents right bound.
hasLocalTop(double top, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the given top value within the parents bounds.
hasLocalTopDistance(double top, String parentTraitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the parents top bound.
hasLocation(double x, double y) PositionAssert
Returns a PositionAssert with the given location.
hasOffset(Offset offset) PositionAssert
Returns a PositionAssert with the given offset.
hasPosition(double left, double top, double right, double bottom) PositionAssert
Returns a PositionAssert with the given position infos.
hasRelativeHeightOf(double height, String traitId) RelativeSizeAssert
Returns a RelativeSizeAssert with the given relative height.
hasRelativeSizeOf(double width, double height, String traitId) RelativeSizeAssert
Returns a RelativeSizeAssert with the given relative size info.
hasRelativeWidthOf(double width, String traitId) RelativeSizeAssert
Returns a RelativeSizeAssert with the given relative width.
hasRight(double right) PositionAssert
Returns a PositionAssert with the given right value.
hasRightDistance(double right) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the global right bound.
hasRightDistanceTo(double right, String traitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to a right target.
hasSize(double width, double height) SizeAssert
Returns a SizeAssert with the given size infos.
hasTop(double top) PositionAssert
Returns a PositionAssert with the given top value.
hasTopDistance(double top) RelativePositionAssert
Returns a RelativePositionAssert with the distance to the global top bound.
hasTopDistanceTo(double top, String traitId) RelativePositionAssert
Returns a RelativePositionAssert with the distance to a top target.
hasWidth(double width) SizeAssert
Returns a SizeAssert with the given width.
heightIsEqual(double value) RelationAssert
Returns a RelationAssert which checks whether height is equal value.
heightIsGreaterThan(double value) RelationAssert
Returns a RelationAssert which checks whether height is greater than value.
heightIsGreaterThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether height is greater than or equal value.
heightIsLessThan(double value) RelationAssert
Returns a RelationAssert which checks whether height is less than value.
heightIsLessThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether height is less than or equal value.
heightIsUnEqual(double value) RelationAssert
Returns a RelationAssert which checks whether height is unequal value.
leftIsEqual(double value) RelationAssert
Returns a RelationAssert which checks whether left is equal value.
leftIsGreaterThan(double value) RelationAssert
Returns a RelationAssert which checks whether left is greater than value.
leftIsGreaterThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether left is greater than or equal value.
leftIsLessThan(double value) RelationAssert
Returns a RelationAssert which checks whether left is less than value.
leftIsLessThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether left is less than or equal value.
leftIsUnEqual(double value) RelationAssert
Returns a RelationAssert which checks whether left is unequal value.
rightIsEqual(double value) RelationAssert
Returns a RelationAssert which checks whether right is equal value.
rightIsGreaterThan(double value) RelationAssert
Returns a RelationAssert which checks whether right is greater than value.
rightIsGreaterThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether right is greater than or equal value.
rightIsLessThan(double value) RelationAssert
Returns a RelationAssert which checks whether right is less than value.
rightIsLessThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether right is less than or equal value.
rightIsUnEqual(double value) RelationAssert
Returns a RelationAssert which checks whether right is unequal value.
topIsEqual(double value) RelationAssert
Returns a RelationAssert which checks whether top is equal value.
topIsGreaterThan(double value) RelationAssert
Returns a RelationAssert which checks whether top is greater than value.
topIsGreaterThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether top is greater than or equal value.
topIsLessThan(double value) RelationAssert
Returns a RelationAssert which checks whether top is less than value.
topIsLessThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether top is less than or equal value.
topIsUnEqual(double value) RelationAssert
Returns a RelationAssert which checks whether top is unequal value.
widthIsEqual(double value) RelationAssert
Returns a RelationAssert which checks whether width is equal value.
widthIsGreaterThan(double value) RelationAssert
Returns a RelationAssert which checks whether width is greater than value.
widthIsGreaterThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether width is greater than or equal value.
widthIsLessThan(double value) RelationAssert
Returns a RelationAssert which checks whether width is less than value.
widthIsLessThanEqual(double value) RelationAssert
Returns a RelationAssert which checks whether width is less than or equal value.
widthIsUnEqual(double value) RelationAssert
Returns a RelationAssert which checks whether width is unequal value.