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