withAttributedDecreasedValue method

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

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

Example usage:

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

Implementation

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