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