whereMainAxisAlignment method
Creates a WidgetSelector that finds all Column where mainAxisAlignment matches the condition.
Example usage:
spot<Column>().whereMainAxisAlignment((it) => it.equals(MainAxisAlignment.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<Column> whereMainAxisAlignment(
MatchProp<MainAxisAlignment> match) {
return withDiagnosticProp<MainAxisAlignment>('mainAxisAlignment', match);
}