tunaf_country_code 0.0.1 copy "tunaf_country_code: ^0.0.1" to clipboard
tunaf_country_code: ^0.0.1 copied to clipboard

This package base on country_code_picker, A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search usin [...]

1
likes
110/ 140
pub points
8%
popularity

We analyzed this package 39 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

26 out of 79 API elements (32.9 %) have documentation comments.

Some symbols that are missing documentation: country_code, country_code.CountryCode.CountryCode.fromCountryCode, country_code.CountryCode.CountryCode.fromDialCode, country_code.CountryCode.CountryCode.fromJson, country_code.CountryCode.localize.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:tunaf_country_code/country_code.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:tunaf_country_code/country_code.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

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

lib/country_code_picker.dart:7:8

  ╷
7 │ import 'package:flutter/foundation.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'button' is deprecated and shouldn't be used. Use labelLarge instead. This feature was deprecated after v3.1.0-0.0.pre.

lib/country_code_picker.dart:203:73

    ╷
203 │                         widget.textStyle ?? Theme.of(context).textTheme.button,
    │                                                                         ^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
flutter flutter 0.0.0 0.0.0
modal_bottom_sheet ^2.0.0 2.1.2 3.0.0
tiengviet ^0.5.0 0.5.0 1.0.0
universal_platform ^1.0.0+1 1.0.0+1 1.0.0+1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.0.0` on modal_bottom_sheet does not support the stable version `3.0.0`, that was published 14 days ago.

When modal_bottom_sheet is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions modal_bottom_sheet to update the constraint.

The constraint `^0.5.0` on tiengviet does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions tiengviet to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

1
likes
110
pub points
8%
popularity

Publisher

unverified uploader

This package base on country_code_picker, A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search using a simple searchbox

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter, modal_bottom_sheet, tiengviet, universal_platform

More

Packages that depend on tunaf_country_code