hasCrossAxisAlignmentWhere method

WidgetMatcher<Row> hasCrossAxisAlignmentWhere(
  1. MatchProp<CrossAxisAlignment> match
)

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