of static method
Implementation
static StringLocaleController of(BuildContext context) {
final s = context.findAncestorStateOfType<StringLocaleController>();
assert(s != null, 'No StringLocaleScope in context');
return s!;
}
static StringLocaleController of(BuildContext context) {
final s = context.findAncestorStateOfType<StringLocaleController>();
assert(s != null, 'No StringLocaleScope in context');
return s!;
}