all_validations_br 3.3.0 copy "all_validations_br: ^3.3.0" to clipboard
all_validations_br: ^3.3.0 copied to clipboard

A powerful Dart/Flutter library for Brazilian validations: CPF, CNPJ, CNH, RENAVAM, PIS/PASEP, Título de Eleitor, PIX keys, phones, passwords, CEP, and more.

60/ 160
pub points
568
downloads

We analyzed this package 6 days ago, and awarded it 60 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting all_validations_br... Discovering libraries... ERR: dartdoc 9.0.5 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/pana_AQGMRM/lib/src/notifications'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:209) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:292)

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: '../notifications/notifiable.dart'.

lib/src/validator/contract.dart:1:8

  ╷
1 │ import '../notifications/notifiable.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/validator/contract.dart

ERROR: The name 'ValidationNotifiable' isn't a type, so it can't be used as a type argument.

lib/src/validator/contract.dart:9:22

  ╷
9 │   Contract join(List<ValidationNotifiable> itens) {
  │                      ^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/validator/contract.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
vector_math - 2.2.0 2.4.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 7 errors:

  • URI_DOES_NOT_EXIST - lib/src/validator/contract.dart:1:8 - Target of URI doesn't exist: '../notifications/notifiable.dart'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/validator/contract.dart:9:22 - The name 'ValidationNotifiable' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_METHOD - lib/src/validator/contract.dart:34:13 - The method 'ValidationNotification' isn't defined for the type 'Contract'.

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.12, Flutter 3.44.2, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
97
likes
60
points
568
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful Dart/Flutter library for Brazilian validations: CPF, CNPJ, CNH, RENAVAM, PIS/PASEP, Título de Eleitor, PIX keys, phones, passwords, CEP, and more.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on all_validations_br