hasMainAxisSizeWhere method

WidgetMatcher<Column> hasMainAxisSizeWhere(
  1. MatchProp<MainAxisSize> match
)

Expects that mainAxisSize of Column matches the condition in match.

Example usage:

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

Implementation

WidgetMatcher<Column> hasMainAxisSizeWhere(MatchProp<MainAxisSize> match) {
  return hasDiagnosticProp<MainAxisSize>('mainAxisSize', match);
}