whereMainAxisSize method

  1. @useResult
WidgetSelector<Column> whereMainAxisSize(
  1. MatchProp<MainAxisSize> match
)

Creates a WidgetSelector that finds all Column where mainAxisSize matches the condition.

Example usage:

spot<Column>().whereMainAxisSize((it) => it.equals(MainAxisSize.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Column> whereMainAxisSize(MatchProp<MainAxisSize> match) {
  return withDiagnosticProp<MainAxisSize>('mainAxisSize', match);
}