whereCrossAxisAlignment method
Creates a WidgetSelector that finds all Wrap where crossAxisAlignment matches the condition.
Example usage:
spot<Wrap>().whereCrossAxisAlignment((it) => it.equals(WrapCrossAlignment.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<Wrap> whereCrossAxisAlignment(
MatchProp<WrapCrossAlignment> match) {
return withDiagnosticProp<WrapCrossAlignment>('crossAxisAlignment', match);
}