hasValue method

Expects that value of LinearProgressIndicator equals (==) value.

Example usage:

spot<LinearProgressIndicator>().existsOnce().hasValue(10.5);

Implementation

WidgetMatcher<LinearProgressIndicator> hasValue(double? value) {
  return hasDiagnosticProp<double>(
      'value', (it) => value == null ? it.isNull() : it.equals(value));
}