my_phone_form_field 1.0.3 my_phone_form_field: ^1.0.3 copied to clipboard
Flutter phone input integrated with flutter internationalization
We analyzed this package 40 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
4566 out of 4678 API elements (97.6 %) have documentation comments.
Some symbols that are missing documentation: phone_field_localization
, phone_field_localization.PhoneFieldLocalization.delegate
, phone_field_localization.PhoneFieldLocalization.localeName
, phone_field_localization.PhoneFieldLocalization.of
, phone_field_localization.lookupPhoneFieldLocalization
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:my_phone_form_field/my_phone_form_field.dart
that imports:package:my_phone_form_field/src/widgets/country_code_chip.dart
that imports:package:circle_flags/circle_flags.dart
that imports:package:flutter_svg/flutter_svg.dart
that imports:package:flutter_svg/svg.dart
that imports:package:flutter_svg/src/default_theme.dart
that imports:package:flutter_svg/src/loaders.dart
that imports:package:flutter_svg/src/utilities/file.dart
that imports:package:flutter_svg/src/utilities/_file_io.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'getFormattedNsn' is deprecated and shouldn't be used. Use [formatNsn] instead.
lib/src/widgets/my_phone_form_field_state.dart:102:33
╷
102 │ return _controller.value?.getFormattedNsn();
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/my_phone_form_field_state.dart
lib/l10n/generated/phone_field_localization.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
circle_flags |
^3.0.1 |
3.0.1 | 5.0.0 |
diacritic |
^0.1.3 |
0.1.6 | 0.1.6 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_localizations |
flutter |
0.0.0 | 0.0.0 |
intl |
>=0.17.0 <=1.0.0 |
0.19.0 | 0.19.0 |
phone_numbers_parser |
^8.0.0 |
8.3.0 | 9.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.1 | 1.1.2 |
collection |
- | 1.18.0 | 1.19.1 |
flutter_svg |
- | 2.0.10+1 | 2.0.10+1 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.0 | 1.9.1 |
path_parsing |
- | 1.0.2 | 1.0.2 |
petitparser |
- | 6.0.2 | 6.0.2 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_graphics |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_codec |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_compiler |
- | 1.1.11+1 | 1.1.11+1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.0.1` on circle_flags does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions circle_flags
to update the constraint.
The constraint `^8.0.0` on phone_numbers_parser does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions phone_numbers_parser
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.