locale_gen 13.0.0 copy "locale_gen: ^13.0.0" to clipboard
locale_gen: ^13.0.0 copied to clipboard

Generate type-safe Dart code from JSON translation files, for Flutter apps and Dart projects, with sprintf and ICU MessageFormat support.

130/ 160
pub points
768
downloads

We analyzed this package 16 hours ago, and awarded it 130 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: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

0 out of 23 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: locale_gen, locale_gen.LocaleGenFormatter, locale_gen.LocaleGenFormatter.format, locale_gen.LocaleGenParams, locale_gen.LocaleGenParams.LocaleGenParams.fromYamlString.

Failed check 0/10 points: Package has an example and has no issues with screenshots

No example found.

See package layout guidelines on how to add 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:locale_gen/locale_gen.dart that imports:
  • package:locale_gen/src/util/format/locale_gen_formatter.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

INFO: Missing type annotation.

lib/src/writer/dart/dart_generator.dart:161:27

    ╷
161 │   String _getEscapedValue(value) => value
    │                           ^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
intl ^0.20.2 0.20.3 0.20.3
meta ^1.16.0 1.19.0 1.19.0
path ^1.9.1 1.9.1 1.9.1
yaml ^3.1.3 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.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

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

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.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
130
points
768
downloads
screenshot

Documentation

API reference

Publisher

verified publisherimpaktfull.com

Weekly Downloads

Generate type-safe Dart code from JSON translation files, for Flutter apps and Dart projects, with sprintf and ICU MessageFormat support.

Repository (GitHub)
View/report issues
Contributing

Topics

#localization #i18n #translations #codegen #icu

License

BSD-3-Clause (license)

Dependencies

intl, meta, path, yaml

More

Packages that depend on locale_gen