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