whereMainAxisAlignment method

  1. @useResult
WidgetSelector<Column> whereMainAxisAlignment(
  1. MatchProp<MainAxisAlignment> match
)

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