Skip to content

Commit d5a5d6d

Browse files
committed
fix: update l10n configuration to use new format
1 parent ef43782 commit d5a5d6d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

pubspec.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,16 @@ flutter:
107107
# For details regarding fonts from package dependencies,
108108
# see https://flutter.dev/to/font-from-package
109109

110-
generate: true
111-
112-
110+
# generate: true
113111

112+
flutter_gen:
113+
output: lib/gen/
114+
line_length: 80
115+
114116
l10n:
115117
arb-dir: l10n
116118
template-arb-file: app_en.arb
117119
output-localization-file: app_localizations.dart
120+
output-class: AppLocalizations
121+
output-dir: lib/l10n
118122
untranslated-messages-file: lib/l10n/untranslated_messages.txt

0 commit comments

Comments
 (0)