geography 2.0.1 copy "geography: ^2.0.1" to clipboard
geography: ^2.0.1 copied to clipboard

A library of geographical entities, their metadata, and relationships. Provides a basic, and an earth, library with methods for finding the nearest entity and measuring distances.

5
likes
110/ 140
pub points
55%
popularity

We analyzed this package 18 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/VannaDi/pub-dev was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/VannaDi/pub-dev/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: geography,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

88 out of 96 API elements (91.7 %) have documentation comments.

Some symbols that are missing documentation: earth.City.toJson, earth.Country.toJson, earth.GeoCoordsExtensions.distanceTo, earth.GeoLocationNode.parentId, earth.GeoLocationNode.toJson.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 651 issues. Showing the first 2:

lib/src/countries/afghanistan.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/countries/afghanistan_cities.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
archive ^3.0.0 3.4.10 3.4.10
collection ^1.0.0 1.18.0 1.18.0
diacritic ^0.1.0 0.1.5 0.1.5
equatable ^2.0.0 2.0.5 2.0.5
http >=0.13.1 <2.0.0 1.2.1 1.2.1
json_annotation ^4.0.0 4.9.0 4.9.0
latlong2 ^0.7.0 0.7.0 0.9.1
meta ^1.0.0 1.14.0 1.14.0
path ^1.0.0 1.9.0 1.9.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
clock - 1.1.1 1.1.1
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
http_parser - 4.0.2 4.0.2
intl - 0.19.0 0.19.0
js - 0.7.1 0.7.1
pointycastle - 3.9.0 3.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

The constraint `^0.7.0` on latlong2 does not support the stable version `0.8.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

5
likes
110
pub points
55%
popularity

Publisher

verified publisherdicatania.me

A library of geographical entities, their metadata, and relationships. Provides a basic, and an earth, library with methods for finding the nearest entity and measuring distances.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

archive, collection, diacritic, equatable, http, json_annotation, latlong2, meta, path

More

Packages that depend on geography