hasAttributedDecreasedValue method

WidgetMatcher<Semantics> hasAttributedDecreasedValue(
  1. String? value
)

Expects that attributedDecreasedValue of Semantics equals (==) value.

Example usage:

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

Implementation

WidgetMatcher<Semantics> hasAttributedDecreasedValue(String? value) {
  return hasDiagnosticProp<String>('attributedDecreasedValue',
      (it) => value == null ? it.isNull() : it.equals(value));
}