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