atlas_picker 1.0.4 copy "atlas_picker: ^1.0.4" to clipboard
atlas_picker: ^1.0.4 copied to clipboard

A Flutter package for easy selection of countries and states with customizable pickers.

120/ 160
pub points
70
downloads

We analyzed this package 5 hours ago, and awarded it 120 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

16 out of 125 API elements (12.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: country_list, country_list.CountryList, country_list.CountryList.CountryList.new, country_list.CountryList.countryList, country_model.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 23 issues. Showing the first 2:

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/elements/state_picker_content.dart:89:78

   ╷
89 │                     filteredStates.value = states.where((state) => state.name?.toLowerCase().contains(value.toLowerCase()) ?? false).toList();
   │                                                                              ^^
   ╵

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

WARNING: The left operand can't be null, so the right operand is never executed.

lib/elements/state_picker_content.dart:133:57

    ╷
133 │                               child: Text(state.name ?? '', style: const TextStyle(fontSize: 12), overflow: TextOverflow.ellipsis),
    │                                                         ^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
country_flags ^3.2.0 3.3.0 4.0.1
flutter_hooks ^0.20.5 0.20.5 0.21.3+1
moon_design ^1.1.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
jovial_misc - 0.9.2 0.9.2
jovial_svg - 1.1.28 1.1.28
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
moon_icons - 1.1.0 1.1.0
moon_tokens - 0.0.6 0.0.6
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

The constraint `^3.2.0` on country_flags does not support the stable version `4.0.0`, that was published 24 days ago.

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

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

The constraint `^0.20.5` on flutter_hooks does not support the stable version `0.21.0`.

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

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
120
points
70
downloads

Publisher

verified publisherfazilkp.in

Weekly Downloads

A Flutter package for easy selection of countries and states with customizable pickers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

country_flags, flutter, flutter_hooks, moon_design

More

Packages that depend on atlas_picker