whereInherit method

Creates a WidgetSelector that finds all EditableText where inherit matches the condition.

Example usage:

spot<EditableText>().whereInherit((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereInherit(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('inherit', match);
}