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