flutter_hardcode_localizer 1.0.0
flutter_hardcode_localizer: ^1.0.0 copied to clipboard
A Dart plugin that finds hardcoded strings in Flutter projects and provides quick-fix to move them to localization files.
Flutter Hardcode Localizer v1.0.0 #
🎉 Initial Stable Release - A powerful Dart plugin that finds hardcoded strings in your Flutter projects and provides interactive localization tools.
Features #
✅ Works with Arrays: ['Hello', 'World'] → [Locale.hello, Locale.world]
✅ Works with Methods: Text('Click me') → Text(Locale.clickMe)
✅ Works with Constructors: MaterialApp(title: 'App') → MaterialApp(title: Locale.app)
✅ Works with Maps: {'key': 'value'} → {'key': Locale.value}
Installation & Usage #
# Add as dev dependency
flutter pub add --dev flutter_hardcode_localizer
# Run the tool
dart run flutter_hardcode_localizer:localize
Perfect for Flutter developers who want reliable string localization!