hasRenderObject method
Expects that renderObject of ConstrainedBox equals (==) value
.
Example usage:
spot<ConstrainedBox>().existsOnce().hasRenderObject(RenderBox());
Implementation
WidgetMatcher<ConstrainedBox> hasRenderObject(RenderConstrainedBox? value) {
return hasDiagnosticProp<RenderConstrainedBox>(
'renderObject', (it) => value == null ? it.isNull() : it.equals(value));
}