whereValue method

Creates a WidgetSelector that finds all LinearProgressIndicator where value matches the condition.

Example usage:

spot<LinearProgressIndicator>().whereValue((it) => it.isGreaterThan(10.5)).existsOnce();

Implementation

@useResult
WidgetSelector<LinearProgressIndicator> whereValue(MatchProp<double> match) {
  return withDiagnosticProp<double>('value', match);
}