mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 15:06:06 +00:00
Clean BuildContext
This commit is contained in:
parent
25da74dfd2
commit
f93587c745
10 changed files with 89 additions and 82 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue