minted_contact 1.0.1
minted_contact: ^1.0.1 copied to clipboard
Well-modelled Dart value types for contact details: Email and PhoneNumber, checked against the real standards rather than a regex. Part of the minted family.
We analyzed this package 22 hours ago, and awarded it 90 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 30 API elements (90.0 %) have documentation comments.
Some symbols that are missing documentation: minted_contact.Email.value, minted_contact.PhoneNumber.value, minted_contact.PhoneNumberType.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Undefined class 'Digits'.
lib/src/phone_number.dart:21:14
╷
21 │ required Digits nationalNumber,
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/phone_number.dart
ERROR: Undefined class 'Digits'.
lib/src/phone_number.dart:61:3
╷
61 │ Digits get nationalNumber => Digits.tryFrom(decimalValues(_parsed.nsn))!;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/phone_number.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
email_validator |
^3.0.0 |
3.0.0 | 3.0.0 | |
minted |
^3.0.0 |
3.1.0 | 3.1.0 | |
minted_network |
^1.0.0 |
1.1.0 | 1.1.0 | |
phone_numbers_parser |
^9.0.25 |
9.0.25 | 9.0.25 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
ipaddr |
- | 2.1.1 | 2.1.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
minted_constraints |
- | 1.1.0 | 1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Dart 3.13.1.
Check the analysis log for details.