hasLocaleWhere method
Expects that locale of Text matches the condition in match
.
Example usage:
spot<Text>().existsOnce().hasLocaleWhere((it) => it.equals(Locale('en', 'US')));
Implementation
WidgetMatcher<Text> hasLocaleWhere(MatchProp<Locale> match) {
return hasDiagnosticProp<Locale>('locale', match);
}