flutter_simple_country_picker 0.2.1 copy "flutter_simple_country_picker: ^0.2.1" to clipboard
flutter_simple_country_picker: ^0.2.1 copied to clipboard

The Flutter package that provides an easy-to-use country selection widget. It allows users to select a country from a comprehensive list of countries, making it simple to integrate country picking fun [...]

1
likes
130/ 160
pub points
42
downloads

We analyzed this package 8 days ago, and awarded it 130 pub points (of a possible 160):

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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/ziqq/flutter_simple_country_picker/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Funding URL doesn't exist.

At the time of the analysis https://www.buymeacoffee.com/ziqq was unreachable. Make sure that the website is reachable via HEAD requests.

Funding URL doesn't exist.

At the time of the analysis https://www.patreon.com/ziqq was unreachable. Make sure that the website is reachable via HEAD requests.

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

147 out of 149 API elements (98.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_simple_country_picker, flutter_simple_country_picker.CountriesLocalization.locale.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

  • package:flutter_simple_country_picker/flutter_simple_country_picker.dart that declares support for platforms: Android, iOS, macOS, Web.

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/widget/countries_list_view.dart:368:13

    ╷
368 │ ┌             return const SliverFillRemaining(
369 │ │               child: Center(child: CircularProgressIndicator.adaptive()),
370 │ └             );
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/widget/countries_list_view.dart:372:13

    ╷
372 │ ┌             return ValueListenableBuilder(
373 │ │               valueListenable: _grouped,
374 │ │               builder: (_, grouped, __) => SliverMainAxisGroup(
375 │ │                 slivers: grouped,
376 │ │               ),
377 │ └             );
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.18.0 1.19.0 1.19.1
flutter flutter 0.0.0 0.0.0
flutter_localizations flutter 0.0.0 0.0.0
intl ^0.19.0 0.19.0 0.20.1
meta ^1.9.1 1.15.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
material_color_utilities - 0.11.1 0.12.0
path - 1.9.0 1.9.1
sky_engine - 0.0.0 0.0.0
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 `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
130
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

The Flutter package that provides an easy-to-use country selection widget. It allows users to select a country from a comprehensive list of countries, making it simple to integrate country picking functionality into your Flutter applications. The package supports Android, iOS, and web platforms, and offers customization options for fonts and styles. Made with ❤️ by ziqq.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com
www.patreon.com
boosty.to

License

MIT (license)

Dependencies

collection, flutter, flutter_localizations, intl, meta

More

Packages that depend on flutter_simple_country_picker