whereInherit method
Creates a WidgetSelector that finds all AnyText where inherit matches the condition.
Example usage:
spot<AnyText>().whereInherit((it) => it.isTrue()).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> whereInherit(MatchProp<bool> match) {
return withDiagnosticProp<bool>('inherit', match);
}