hasRenderObjectWhere method
Expects that renderObject of SizedBox matches the condition in match
.
Example usage:
spot<SizedBox>().existsOnce().hasRenderObjectWhere((it) => it.equals(RenderBox()));
Implementation
WidgetMatcher<SizedBox> hasRenderObjectWhere(
MatchProp<RenderConstrainedBox> match) {
return hasDiagnosticProp<RenderConstrainedBox>('renderObject', match);
}