whereFontStyle method
Creates a WidgetSelector that finds all AnyText where fontStyle matches the condition.
Example usage:
spot<AnyText>().whereFontStyle((it) => it.equals(FontStyle.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> whereFontStyle(MatchProp<FontStyle> match) {
return withDiagnosticProp<FontStyle>('font_style', match);
}