From 9d29c12459cc60c1b3f56ba3a41f22c0fbd373ca Mon Sep 17 00:00:00 2001 From: ton-An Date: Thu, 22 Jul 2021 11:50:52 +0200 Subject: [PATCH] Moved l10n.yaml to root dir And added 'nullable-getter: false' to avoid adding a '!' to every call of AppLocalizations --- lib/l10n.README => l10n.README | 0 l10n.yaml | 4 ++++ lib/l10n.yaml | 3 --- 3 files changed, 4 insertions(+), 3 deletions(-) rename lib/l10n.README => l10n.README (100%) create mode 100644 l10n.yaml delete mode 100644 lib/l10n.yaml diff --git a/lib/l10n.README b/l10n.README similarity index 100% rename from lib/l10n.README rename to l10n.README diff --git a/l10n.yaml b/l10n.yaml new file mode 100644 index 00000000..b1cc1414 --- /dev/null +++ b/l10n.yaml @@ -0,0 +1,4 @@ +arb-dir: lib/l10n +template-arb-file: app_en.arb +output-localization-file: app_localizations.dart +nullable-getter: false diff --git a/lib/l10n.yaml b/lib/l10n.yaml deleted file mode 100644 index 4e6692e5..00000000 --- a/lib/l10n.yaml +++ /dev/null @@ -1,3 +0,0 @@ -arb-dir: lib/l10n -template-arb-file: app_en.arb -output-localization-file: app_localizations.dart \ No newline at end of file