Skip to main content

flutter_string_extractor 2.1.0 copy "flutter_string_extractor: ^2.1.0" to clipboard
flutter_string_extractor: ^2.1.0 copied to clipboard

Extract Flutter localization strings to JSON with safe catalog merging and optional AI discovery and translation using OpenAI, Claude, or Gemini.

140/ 160
pub points
669
downloads

We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

9 out of 42 API elements (21.4 %) have documentation comments.

Some symbols that are missing documentation: ai_string_extractor, ai_string_extractor.AiClient.AiClient.new, ai_string_extractor.AiClient.close, ai_string_extractor.AiClient.complete, ai_string_extractor.AiClient.model.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_string_extractor/flutter_string_extractor.dart that imports:
  • package:flutter_string_extractor/src/catalog_io.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 18 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

bin/main.dart:143:9

    ╷
143 │         throw FormatException('--max-ai-requests must be a positive integer.');
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/main.dart

INFO: Statements in an if should be enclosed in a block.

lib/ai_string_extractor.dart:91:7

   ╷
91 │ ┌       throw ArgumentError(
92 │ │         'AI client provider does not match the selected provider.',
93 │ └       );
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/ai_string_extractor.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
analyzer ^12.1.0 12.1.0 14.7.0
args ^2.7.0 2.7.0 2.7.0
glob ^2.2.0 2.2.0 2.2.0
path ^1.9.1 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 99.0.0 111.0.0
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.8 3.0.8
file - 7.0.1 7.0.1
meta - 1.19.0 1.19.0
package_config - 2.2.0 3.0.0
pub_semver - 2.2.1 2.2.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
watcher - 1.2.1 1.2.1
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^12.1.0` on analyzer does not support the stable version `13.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
140
points
669
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Extract Flutter localization strings to JSON with safe catalog merging and optional AI discovery and translation using OpenAI, Claude, or Gemini.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #localization #flutter #i18n #string-extraction

License

MIT (license)

Dependencies

analyzer, args, glob, path

More

Packages that depend on flutter_string_extractor