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