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!