hasCrossAxisAlignmentWhere method
Expects that crossAxisAlignment of Wrap matches the condition in match
.
Example usage:
spot<Wrap>().existsOnce().hasCrossAxisAlignmentWhere((it) => it.equals(WrapCrossAlignment.values.first));
Implementation
WidgetMatcher<Wrap> hasCrossAxisAlignmentWhere(
MatchProp<WrapCrossAlignment> match) {
return hasDiagnosticProp<WrapCrossAlignment>('crossAxisAlignment', match);
}