INNER CODE UNIT · Dart
locale
xuexiangjys/flutter_template · lib/generated/i18n.dart:19
static set locale(Locale newLocale) {
_shouldReload = true;
I18n._locale = newLocale;
}
static const GeneratedLocalizationsDelegate delegate = GeneratedLocalizationsDelegate();
/// function to be invoked when changing the language
static LocaleChangeCallback onLocaleChanged;
static I18n of(BuildContext context) =>
Localizations.of<I18n>(context, WidgetsLocalizations);
@override
TextDirection get textDirection => TextDirection.ltr;
/// "Flutter Template"
String get title => "Flutter Template";