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.

1
likes
140/ 160
pub points
52
downloads

We analyzed this package 6 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 629419 elements... Initialized dartdoc with 785 libraries Generating docs for library phone_number_text_field_test.dart from package:phone_number_text_field/phone_number_text_field_test.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.dart from package:phone_number_text_field/phone_number_text_field.dart... Documented 3 public libraries in 90.0 seconds ERR: warning: phone_number_text_field has no library level documentation comments from phone_number_text_field: (file:///tmp/pana_ZKQRTI/lib/phone_number_text_field_test.dart:1:1) warning: phone_number_text_field has no library level documentation comments from phone_number_text_field: (file:///tmp/pana_ZKQRTI/lib/phone_number_text_field.dart:1:1) error: file already written at "phone_number_text_field/index.html" for symbol phone_number_text_field: (file:///tmp/pana_ZKQRTI/lib/phone_number_text_field.dart:1:1) conflicting with file already generated by phone_number_text_field: (file:///tmp/pana_ZKQRTI/lib/phone_number_text_field_test.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'phone_number_text_field' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [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.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

INFO: The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.

lib/src/widgets/input_widget.dart:3:8

  ╷
3 │ import 'package:flutter/cupertino.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

/tmp/pana_ZKQRTI/lib/phone_number_text_field_methode_channel.dart doesn't match the Dart formatter.

To format your files run: dart format .

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.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
vector_math - 2.1.4 2.1.4

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
52
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