hasMainAxisSize method
Expects that mainAxisSize of Row equals (==) value
.
Example usage:
spot<Row>().existsOnce().hasMainAxisSize(MainAxisSize.values.first);
Implementation
WidgetMatcher<Row> hasMainAxisSize(MainAxisSize? value) {
return hasDiagnosticProp<MainAxisSize>(
'mainAxisSize', (it) => value == null ? it.isNull() : it.equals(value));
}