1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 15:06:06 +00:00

Clean BuildContext

This commit is contained in:
Yan Maniez 2020-03-13 09:46:17 +01:00
parent 25da74dfd2
commit f93587c745
10 changed files with 89 additions and 82 deletions

View file

@ -19,6 +19,15 @@ class AppLocalizations {
return Localizations.of<AppLocalizations>(context, AppLocalizations);
}
String translate(name) {
return Intl.message(
name,
name: name,
desc: name,
locale: localeName,
);
}
final String localeName;
String get appTitle {