withDecreasedValue method

  1. @useResult
WidgetSelector<Semantics> withDecreasedValue(
  1. String? value
)

Creates a WidgetSelector that finds all Semantics where decreasedValue equals (==) value.

Example usage:

spot<Semantics>().withDecreasedValue('foo').existsOnce();

Implementation

@useResult
WidgetSelector<Semantics> withDecreasedValue(String? value) {
  return withDiagnosticProp<String>('decreasedValue',
      (it) => value == null ? it.isNull() : it.equals(value));
}