withAttributedHint method

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

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

Example usage:

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

Implementation

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