Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created March 19, 2020 04:41
Show Gist options
  • Save tianhaoz95/20ad07f09f99570e5d7cb4868bb2a4b7 to your computer and use it in GitHub Desktop.
Save tianhaoz95/20ad07f09f99570e5d7cb4868bb2a4b7 to your computer and use it in GitHub Desktop.
example for generating dart code from arb translations
flutter pub run intl_translation:generate_from_arb --output-dir=i18n/wrappers i18n.dart i18n/messages/*.arb
# After this more wrapper dart code will be generated in the wrappers directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment