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