hasMainAxisSizeWhere method
Expects that mainAxisSize of Row matches the condition in match
.
Example usage:
spot<Row>().existsOnce().hasMainAxisSizeWhere((it) => it.equals(MainAxisSize.values.first));
Implementation
WidgetMatcher<Row> hasMainAxisSizeWhere(MatchProp<MainAxisSize> match) {
return hasDiagnosticProp<MainAxisSize>('mainAxisSize', match);
}