withFontLocale method
Creates a WidgetSelector that finds all AnyText where fontLocale equals (==) value
.
Example usage:
spot<AnyText>().withFontLocale(Locale('en', 'US')).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> withFontLocale(Locale? value) {
return withDiagnosticProp<Locale>(
'font_locale', (it) => value == null ? it.isNull() : it.equals(value));
}