withHeight method
Creates a WidgetSelector that finds all SizedBox where height equals (==) value
.
Example usage:
spot<SizedBox>().withHeight(10.5).existsOnce();
Implementation
@useResult
WidgetSelector<SizedBox> withHeight(double? value) {
return withDiagnosticProp<double>(
'height', (it) => value == null ? it.isNull() : it.equals(value));
}