hasHeight method
Expects that height of SizedBox equals (==) value
.
Example usage:
spot<SizedBox>().existsOnce().hasHeight(10.5);
Implementation
WidgetMatcher<SizedBox> hasHeight(double? value) {
return hasDiagnosticProp<double>(
'height', (it) => value == null ? it.isNull() : it.equals(value));
}