flutterflutter-dependencies

How to remove unused keys in Flutter Intl


In my flutter app I am using Intl by its official Jetbrains plugin to handle the localizations, and it works great. Currently i'm supporting 3 different languages, therefore I have 3 different locale.

For example, if I add a key only for my default language, the tool creates the key in the intl_en.arb and the boilerplate in the I10n.dart and messages_en.dart. Later i can add the same key in the intl_it.dart and the tool updates the boilerplate where is needed.

But i can't find how to safely remove a key, o remove all the unused keys. Am i missing some documentation? thanks in advance


Solution

  • I believe not.
    According to the opened issue, that feature should be available in one of the upcoming plugin releases.