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

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

80/ 160
pub points
1
downloads

We analyzed this package 24 days ago, and awarded it 80 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 71.2 seconds ERR: warning: phone_number_text_field has no library level documentation comments from phone_number_text_field: (file:///tmp/pana_WYWCBM/lib/phone_number_text_field.dart:1:1) warning: unresolved doc reference [setSelectorButtonAsPrefixIcon = true] from input_widget.InternationalPhoneNumberInput.spaceBetweenSelectorAndTextField: (file:///tmp/pana_WYWCBM/lib/src/widgets/input_widget.dart:62:16) in documentation inherited from input_widget.InternationalPhoneNumberInput.spaceBetweenSelectorAndTextField: (file:///tmp/pana_WYWCBM/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_WYWCBM/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_WYWCBM/lib/phone_number_text_field_test.dart:1:1) conflicting with file already generated by phone_number_text_field: (file:///tmp/pana_WYWCBM/lib/phone_number_text_field.dart:1:1) [21 more lines]

Passed check 10/10 points: Package has an example

Passed 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 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 36 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'Country'.

lib/src/models/country_model.dart:56:23

   ╷
56 │   int get hashCode => hashValues(alpha2Code, alpha3Code, dialCode);
   │                       ^^^^^^^^^^
   ╵

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

WARNING: Unused import: 'package:flutter/rendering.dart'.

lib/src/models/country_model.dart:1:8

  ╷
1 │ import 'package:flutter/rendering.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/country_model.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

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

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

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/models/country_model.dart:56:23 - The method 'hashValues' isn't defined for the type 'Country'.

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
80
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