dart_countries_states 0.1.1
dart_countries_states: ^0.1.1 copied to clipboard
A Dart project that contains all the countries information about them. Support multiple languages.
We analyzed this package 2 days ago, and awarded it 110 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.
0/10 points: 20% or more of the public API has dartdoc comments
30 out of 695 API elements (4.3 %) 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: alpha2_codes, alpha2_codes.Alpha2Code, alpha2_codes.Alpha2Code.AD, alpha2_codes.Alpha2Code.AE, alpha2_codes.Alpha2Code.AF.
10/10 points: Package has 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:dart_countries_states/street_provider.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/file_output_stub.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/src/serializer/custom_enum_json_plugin.dart:53:11
╷
53 │ if (key is String && key.startsWith('"')) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/serializer/custom_enum_json_plugin.dart
INFO: Missing type annotation.
lib/country_provider.dart:19:8
╷
19 │ {onErrorTryCache = false, firstCache = false}) async {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/country_provider.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_collection |
^5.0.0 |
5.1.1 | 5.1.1 | |
built_value |
^8.0.4 |
8.12.4 | 8.12.4 | |
http |
^0.13.1 |
0.13.6 | 1.6.0 | |
logger |
^1.0.0 |
1.4.0 | 2.7.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.2 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.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 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.1` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^1.0.0` on logger does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions logger to update the constraint.
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.11, Dart 3.11.2.
Check the analysis log for details.