withHint method
Creates a WidgetSelector that finds all Semantics where hint equals (==) value
.
Example usage:
spot<Semantics>().withHint('foo').existsOnce();
Implementation
@useResult
WidgetSelector<Semantics> withHint(String? value) {
return withDiagnosticProp<String>(
'hint', (it) => value == null ? it.isNull() : it.equals(value));
}