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