whereFontLocale method

  1. @useResult
WidgetSelector<AnyText> whereFontLocale(
  1. MatchProp<Locale> match
)

Creates a WidgetSelector that finds all AnyText where fontLocale matches the condition.

Example usage:

spot<AnyText>().whereFontLocale((it) => it.equals(Locale('en', 'US'))).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereFontLocale(MatchProp<Locale> match) {
  return withDiagnosticProp<Locale>('font_locale', match);
}