hasLabel method
Expects that label of Slider equals (==) value
.
Example usage:
spot<Slider>().existsOnce().hasLabel('foo');
Implementation
WidgetMatcher<Slider> hasLabel(String? value) {
return hasDiagnosticProp<String>(
'label', (it) => value == null ? it.isNull() : it.equals(value));
}