hasLabelWhere method
Expects that label of Slider matches the condition in match
.
Example usage:
spot<Slider>().existsOnce().hasLabelWhere((it) => it.equals('foo'));
Implementation
WidgetMatcher<Slider> hasLabelWhere(MatchProp<String> match) {
return hasDiagnosticProp<String>('label', match);
}