sahih_validator 2.1.1
sahih_validator: ^2.1.1 copied to clipboard
A comprehensive validation library for Flutter and Dart applications
We analyzed this package 4 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
70 out of 75 API elements (93.3 %) have documentation comments.
Some symbols that are missing documentation: dns_lookup_io, dns_lookup_web, sahih_validator.DateOfBirthValidator.DateOfBirthValidator.new, sahih_validator.SahihMessages.get, sahih_validator.SahihValidator.SahihValidator.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:sahih_validator/sahih_validator.dartthat imports:package:sahih_validator/Validator/dns_lookup_io.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/Extensions/address_validation_extensions.dart:1:1
╷
1 │ part of sahih_validator;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/Extensions/address_validation_extensions.dart
INFO: The part-of directive uses a library name.
lib/Extensions/password_validate_extension.dart:1:1
╷
1 │ part of sahih_validator;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/Extensions/password_validate_extension.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
intl |
^0.20.2 |
0.20.2 | 0.20.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
meta |
- | 1.18.2 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 |
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.12, Dart 3.11.2.
Check the analysis log for details.