germany_plate 0.2.0
germany_plate: ^0.2.0 copied to clipboard
Germany's licence plates for the plate_core library — the country panel, the car spec with its EU stickers, and the German plate validator.
We analyzed this package 2 days 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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
53 out of 60 API elements (88.3 %) have documentation comments.
Some symbols that are missing documentation: germany_plate.GermanBundeswehrValidator.GermanBundeswehrValidator.new, germany_plate.GermanBundeswehrValidator.validate, germany_plate.GermanDatedPlateValidator.validate, germany_plate.GermanPlateValidator.GermanPlateValidator.new, germany_plate.GermanPlateValidator.validate.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/src/german_plate_validator.dart:262:9
╷
262 │ return PlateValidation.invalid('"$month" is not a month.');
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/german_plate_validator.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/german_plate_validator.dart:274:9
╷
274 │ return PlateValidation.invalid('"$day" is not a day.');
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/german_plate_validator.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
plate_core |
^0.11.0 |
0.11.5 | 0.11.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_svg |
- | 2.3.0 | 2.3.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
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 | |
vector_graphics |
- | 1.2.4 | 1.2.4 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.2 | 1.3.2 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 179 errors:
URI_DOES_NOT_EXIST-lib/src/german_plate_validator.dart:7:8- Target of URI doesn't exist: 'package:plate_core/plate_core.dart'.EXTENDS_NON_CLASS-lib/src/german_plate_validator.dart:47:36- Classes can only extend other classes.UNDEFINED_CLASS-lib/src/german_plate_validator.dart:56:3- Undefined class 'PlateValidation'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.