hardcoded_string_finder 2.1.0
hardcoded_string_finder: ^2.1.0 copied to clipboard
Cross-platform CLI tool to find hardcoded strings in Flutter projects with smart input handling, translation preservation, and efficient CSV/JSON export for localization.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate hardcoded_string_finderUse it
The package has the following executables:
$ hardcoded_string_finder
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add hardcoded_string_finderWith Flutter:
$ flutter pub add hardcoded_string_finderThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
hardcoded_string_finder: ^2.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:hardcoded_string_finder/hardcoded_string_finder.dart';