phone_numbers_parser 4.2.1 phone_numbers_parser: ^4.2.1 copied to clipboard
Dart library for parsing phone numbers. Inspired by Google's libphonenumber and PhoneNumberKit for ios.
We analyzed this package 27 hours ago, and awarded it 120 pub points (of a possible 140):
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
36 out of 59 API elements (61.0 %) have documentation comments.
Some symbols that are missing documentation: phone_number_parser.Code
, phone_number_parser.Code.Code
, phone_number_parser.PhoneNumber.findPotentialPhoneNumbers
, phone_number_parser.PhoneNumber.PhoneNumber.fromJson
, phone_number_parser.PhoneNumber.PhoneNumber.fromMap
.
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
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: The variable name 'MIN_LENGTH_COUNTRY_CALLING_CODE' isn't a lowerCamelCase identifier.
lib/src/constants/constants.dart:3:20
╷
3 │ static final int MIN_LENGTH_COUNTRY_CALLING_CODE = 1;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/constants/constants.dart
INFO: The variable name 'MAX_LENGTH_COUNTRY_CALLING_CODE' isn't a lowerCamelCase identifier.
lib/src/constants/constants.dart:4:20
╷
4 │ static final int MAX_LENGTH_COUNTRY_CALLING_CODE = 3;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/constants/constants.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
meta |
^1.7.0 |
1.14.0 | 1.14.0 |
phone_number_metadata |
^4.0.2 |
4.0.2 | 5.0.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.0.2` on phone_number_metadata does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions phone_number_metadata
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.4
.
Check the analysis log for details.