whereCrossAxisAlignment method

  1. @useResult
WidgetSelector<Column> whereCrossAxisAlignment(
  1. MatchProp<CrossAxisAlignment> match
)

Creates a WidgetSelector that finds all Column where crossAxisAlignment matches the condition.

Example usage:

spot<Column>().whereCrossAxisAlignment((it) => it.equals(CrossAxisAlignment.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Column> whereCrossAxisAlignment(
    MatchProp<CrossAxisAlignment> match) {
  return withDiagnosticProp<CrossAxisAlignment>('crossAxisAlignment', match);
}