hasWidthWhere method
Expects that width of SizedBox matches the condition in match
.
Example usage:
spot<SizedBox>().existsOnce().hasWidthWhere((it) => it.isGreaterThan(10.5));
Implementation
WidgetMatcher<SizedBox> hasWidthWhere(MatchProp<double> match) {
return hasDiagnosticProp<double>('width', match);
}