phone_number_text_field 0.1.0 copy "phone_number_text_field: ^0.1.0" to clipboard
phone_number_text_field: ^0.1.0 copied to clipboard

Simple and customizable flutter package to enter phone number in international format using Google's lib phone number.

140/ 160
pub points
1
downloads

We analyzed this package 23 days ago, and awarded it 140 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 phone_number_text_field... Discovering libraries... Linking elements... Precaching local docs for 643926 elements... Initialized dartdoc with 808 libraries Generating docs for library phone_number_text_field.dart from package:phone_number_text_field/phone_number_text_field.dart... Generating docs for library phone_number_text_field_methode_channel.dart from package:phone_number_text_field/phone_number_text_field_methode_channel.dart... Generating docs for library phone_number_text_field_test.dart from package:phone_number_text_field/phone_number_text_field_test.dart... Documented 3 public libraries in 70.6 seconds ERR: warning: phone_number_text_field has no library level documentation comments from phone_number_text_field: (file:///tmp/pana_DBWNOH/lib/phone_number_text_field.dart:1:1) warning: unresolved doc reference [setSelectorButtonAsPrefixIcon = true] from input_widget.InternationalPhoneNumberInput.spaceBetweenSelectorAndTextField: (file:///tmp/pana_DBWNOH/lib/src/widgets/input_widget.dart:62:16) in documentation inherited from input_widget.InternationalPhoneNumberInput.spaceBetweenSelectorAndTextField: (file:///tmp/pana_DBWNOH/lib/src/widgets/input_widget.dart:62:16) warning: phone_number_text_field has no library level documentation comments from phone_number_text_field: (file:///tmp/pana_DBWNOH/lib/phone_number_text_field_test.dart:1:1) error: file already written at "phone_number_text_field/index.html" for symbol phone_number_text_field: (file:///tmp/pana_DBWNOH/lib/phone_number_text_field_test.dart:1:1) conflicting with file already generated by phone_number_text_field: (file:///tmp/pana_DBWNOH/lib/phone_number_text_field.dart:1:1) [21 more lines]

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:phone_number_text_field/phone_number_text_field.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:phone_number_text_field/phone_number_text_field.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:phone_number_text_field/phone_number_text_field.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:phone_number_text_field/phone_number_text_field.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/phone_number_text_field/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 41 issues. Showing the first 2:

INFO: The constant name 'E164' isn't a lowerCamelCase identifier.

lib/phone_number_text_field_methode_channel.dart:21:5

   ╷
21 │     E164,
   │     ^^^^
   ╵

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

INFO: The constant name 'INTERNATIONAL' isn't a lowerCamelCase identifier.

lib/phone_number_text_field_methode_channel.dart:22:5

   ╷
22 │     INTERNATIONAL,
   │     ^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
equatable ^2.0.5 2.0.7 2.0.7
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Simple and customizable flutter package to enter phone number in international format using Google's lib phone number.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, equatable, flutter, plugin_platform_interface

More

Packages that depend on phone_number_text_field

Packages that implement phone_number_text_field