hasStyleWhere method
Expects that style of SelectableText matches the condition in match
.
Example usage:
spot<SelectableText>().existsOnce().hasStyleWhere((it) => it.equals(TextStyle()));
Implementation
WidgetMatcher<SelectableText> hasStyleWhere(MatchProp<TextStyle> match) {
return hasDiagnosticProp<TextStyle>('style', match);
}