From a50883f2bde436060a00469b34789170aafee0ad Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 1 Feb 2021 17:02:52 +1100 Subject: [PATCH] Add l10n config file --- l10n.yaml | 3 +++ pubspec.yaml | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 l10n.yaml diff --git a/l10n.yaml b/l10n.yaml new file mode 100644 index 00000000..b2fcf348 --- /dev/null +++ b/l10n.yaml @@ -0,0 +1,3 @@ +arb-dir: lib/i18n +template-arb-file: app_en.arb +output-localization-file: app_localizations.dart \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index c3baeaa6..ec09a4c1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,9 +19,12 @@ environment: dependencies: flutter: sdk: flutter + flutter_localizations: sdk: flutter + intl: ^0.16.1 + cupertino_icons: ^0.1.3 http: ^0.12.1 shared_preferences: ^0.5.7 @@ -62,6 +65,8 @@ flutter: # the material Icons class. uses-material-design: true + generate: true + assets: - assets/image/icon.png