Requirements
Locale Sync’s SDK integrates with Flutter through flutter_localizations package, so, naturally, you’ll need to get this added to your pubspec.yaml:pubspec.yaml
lib/app.dart
Installing
Add locale_sync package as a dependency:lib/app.dart
Over the air
If you want to use our over-the-air strings feature you just need to call setup method from LocaleSync on your main.dart, or whatever entry point you’re using:main.dart
Getting translations
lib/screens/my_screen.dart
lib/screens/my_screen.dart
lib/translations/fallback_translation.json