Bugtest
This project shows, that intl_utils generates a localization implementation which is not correctly scoped,
when a Localizations.override Widget was used on a previous Screen. See flutter/flutter#143446
for more information.
Intl generates it's localization under the following circumstances:
pubspec.yaml has the following entries:
flutter_intl:
enabled: trueConfig file:
pubspec.yaml -> flutter_intl section
Input files:
/lib/l10n/intl_en.arb
/lib/l10n/intl_de.arb
Output files:
/lib/generated/intl/messages_all.dart
/lib/generated/intl/messages_de.dart
/lib/generated/intl/messages_en.dart
/lib/generated/l10n.dart
triggered with:
dart run intl_utils:generate
Flutter generates it's localization under the following circumstances:
pubspec.yaml has the following entries:
flutter:
generate: trueConfig file:
l10n.yaml
Input files (defined by the config file):
/lib/l10n/intl_en.arb
/lib/l10n/intl_de.arb
Output files:
/lib/l10n/l10n.dart
/lib/l10n/l10n_de.dart
/lib/l10n/l10n_en.dart
triggered with:
flutter gen-l10n