whereRenderObject method
Creates a WidgetSelector that finds all SizedBox where renderObject matches the condition.
Example usage:
spot<SizedBox>().whereRenderObject((it) => it.equals(RenderBox())).existsOnce();
Implementation
@useResult
WidgetSelector<SizedBox> whereRenderObject(
MatchProp<RenderConstrainedBox> match) {
return withDiagnosticProp<RenderConstrainedBox>('renderObject', match);
}