dartian_i18n 1.0.0
dartian_i18n: ^1.0.0 copied to clipboard
Internationalization (i18n) support for Dartian with locale management and translation helpers
We analyzed this package 4 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
21 out of 28 API elements (75.0 %) have documentation comments.
Some symbols that are missing documentation: dartian_i18n, dartian_i18n.I18nUtils.I18nUtils.new, dartian_i18n.Locale.Locale.new, dartian_i18n.Locale.code, dartian_i18n.Locale.country.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:dartian_i18n/dartian_i18n.dartthat imports:package:dartian_i18n/src/i18n.dartthat imports:package:dartian_i18n/src/translator.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The variable name '__' isn't a lowerCamelCase identifier.
lib/src/i18n.dart:21:10
╷
21 │ String __(String key, {Map<String, dynamic>? params, String? locale}) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/i18n.dart
/tmp/pana_SVRAXT/lib/src/i18n.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dartian_core |
^1.0.0 |
1.0.0 | 1.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.4, Dart 3.10.4.
Check the analysis log for details.