intl_phone_number_input 0.4.2
intl_phone_number_input: ^0.4.2

Flutter Android iOS

A simple and customizable flutter package on International Phone Number Input.

115
likes
80 / 110
pub points
96 %
popularity

We analyzed this package on Nov 22, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:
  warning: intl_phone_number_input has no library level documentation comments, from intl_phone_number_input: (file:///tmp/pub-dartlang-dartdocRDVIYE/pkg/lib/intl_phone_number_input.dart:1:9)
  warning: intl_phone_number_input has no library level documentation comments, from intl_phone_number_input: (file:///tmp/pub-dartlang-dartdocRDVIYE/pkg/lib/intl_phone_number_input_test.dart:1:9)
  error: failed to write file at: intl_phone_number_input/intl_phone_number_input-library.html
    for symbol intl_phone_number_input: (file:///tmp/pub-dartlang-dartdocRDVIYE/pkg/lib/intl_phone_number_input_test.dart:1:9)
    conflicting with file already generated by intl_phone_number_input: (file:///tmp/pub-dartlang-dartdocRDVIYE/pkg/lib/intl_phone_number_input.dart:1:9)
            Dartdoc generates a path and filename to write to for each symbol.
            intl_phone_number_input conflicts with another symbol in the generated path, and
            therefore can not be written out.  Changing the name, library name, or
            class name (if appropriate) of one of the conflicting items can resolve
            the conflict.   Alternatively, use the @nodoc tag in one symbol's
            documentation comments to hide it.
  warning: dartdoc generated a broken link to: intl_phone_number_input/InputChanged.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput-class.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/InternationalPhoneNumberInput.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/autoFocus.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/autoValidate.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/countries.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/countrySelectorScrollControlled.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/createState.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/errorMessage.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/focusNode.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/formatInput.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/hintText.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/ignoreBlank.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/initialValue.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/inputBorder.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/inputDecoration.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/isEnabled.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/keyboardAction.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/locale.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/onInputChanged.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/onInputValidated.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/onSubmit.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/searchBoxDecoration.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/selectorTextStyle.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/selectorType.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/textFieldController.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/textStyle.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/InternationalPhoneNumberInput.withCustomBorder.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/InternationalPhoneNumberInput/InternationalPhoneNumberInput.withCustomDecoration.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneInputSelectorType-class.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneInputSelectorType/toString.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber-class.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/PhoneNumber.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/dialCode.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/getISO2CodeByPrefix.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/getParsableNumber.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/getRegionInfoFromPhoneNumber.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/isoCode.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/parseNumber.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/phoneNumber.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/props.html (from index.json)
  warning: dartdoc generated a broken link to: intl_phone_number_input/PhoneNumber/toString.html (from index.json)
found 44 warnings and 1 error
Unhandled exception:
dartdoc encountered 1 errors while processing.
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:231:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Support multiple platforms
10 / 20

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

Found 6 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:intl_phone_number_input/intl_phone_number_input.dart that imports:
  • package:intl_phone_number_input/src/widgets/input_widget.dart that imports:
  • package:libphonenumber/libphonenumber.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

Found 3 issues. Showing the first 2:

INFO: 'autovalidate' is deprecated and shouldn't be used. Use autoValidateMode parameter which provide more specific behaviour related to auto validation. This feature was deprecated after v1.19.0..

lib/src/widgets/input_widget.dart:374:15

    ╷
374 │               autovalidate: widget.autoValidate,
    │               ^^^^^^^^^^^^
    ╵

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

INFO: 'WhitelistingTextInputFormatter' is deprecated and shouldn't be used. Use FilteringTextInputFormatter.allow instead. This feature was deprecated after v1.20.0-1.0.pre..

lib/src/widgets/input_widget.dart:386:23

    ╷
386 │                     : WhitelistingTextInputFormatter.digitsOnly,
    │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
equatable^1.1.11.2.51.2.5
libphonenumber^1.0.11.0.21.0.2
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
meta-1.3.0-nullsafety.61.3.0-nullsafety.6
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

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

115
likes
80
pub points
96%
popularity

A simple and customizable flutter package on International Phone Number Input.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ogunye4nao@gmail.com

License

MIT (LICENSE)

Dependencies

equatable, flutter, libphonenumber

More

Packages that depend on intl_phone_number_input