whereCrossAxisAlignment method

  1. @useResult
WidgetSelector<Wrap> whereCrossAxisAlignment(
  1. MatchProp<WrapCrossAlignment> match
)

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);
}