custom_phone_number_package 0.0.1
custom_phone_number_package: ^0.0.1 copied to clipboard

Flutter Android iOS web

custom phone number package

70 / 110
pub points
0 %

We analyzed this package on Jan 21, 2021, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid

5/5 points: Provide a valid

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 1 out of 11 API elements (9.1 %) 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.

Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: PhoneNumber.validator


7 │ class PhoneNumber extends StatefulWidget {
  │       ^^^^^^^^^^^

To reproduce make sure you are using pedantic and run flutter analyze lib/custom_phone_number_package.dart

INFO: This method overrides a method annotated as '@mustCallSuper' in 'State', but doesn't invoke the overridden method.


33 │   void initState() {
   │        ^^^^^^^^^

To reproduce make sure you are using pedantic and run flutter analyze lib/custom_phone_number_package.dart

Support up-to-date dependencies
20 / 20

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

Transitive dependencies

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

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