flutter_pseudolocalizor 0.3.0
flutter_pseudolocalizor: ^0.3.0 copied to clipboard
A Pseudolocalization tool for Flutter and Dart which generates pseudo, nonsensical translations for multiple languages from a given English source.
We analyzed this package on Feb 24, 2021, and awarded it 80 pub points (of a possible 110):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
- Found example at:
example/README.md
10/10 points: 20% or more of the public API has dartdoc comments
- 18 out of 20 API elements (90.0 %) have documentation comments.
10/20 points: Supports 1 of 2 possible platforms (native, js)
Consider supporting multiple platforms:
Package not compatible with runtime js
Because:
package:flutter_pseudolocalizor/flutter_pseudolocalizor.dart
that imports:package:flutter_pseudolocalizor/src/services/pseudolocalizor.dart
that imports:package:flutter_pseudolocalizor/src/services/csv_generator.dart
that imports:dart:io
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: Use isNotEmpty instead of length
lib/src/utils/reg_exp_utils.dart:5:29
╷
5 │ if (patterns != null && patterns.length > 0) {
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/utils/reg_exp_utils.dart
INFO: Use isEmpty instead of length
lib/src/utils/utils.dart:20:30
╷
20 │ if (inputList == null || inputList.length == 0) {
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/utils/utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
meta | ^1.1.6 | 1.3.0 | 1.3.0 |
yaml | ^2.2.0 | 2.2.1 | 3.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
charcode | - | 1.2.0 | 1.2.0 |
collection | - | 1.15.0 | 1.15.0 |
path | - | 1.8.0 | 1.8.0 |
source_span | - | 1.8.1 | 1.8.1 |
string_scanner | - | 1.1.0 | 1.1.0 |
term_glyph | - | 1.2.0 | 1.2.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.2.0` on yaml does not support the latest published version `3.0.0`
pubspec.yaml:13:9
╷
13 │ yaml: ^2.2.0
│ ^^^^^^
╵
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.14.10
,
Dart 2.12.0-133.2.beta
.