geolocator 5.3.2+2

Flutter Android iOS

Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.

658
likes
95 / 110
pub points
99 %
popularity

We analyzed this package on Aug 11, 2020, and awarded it 95 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:95:389

   ╷
95 │ <p>Both the <code>placemarkFromAddress</code> and <code>placemarkFromCoordinates</code> accept an optional <code>localeIdentifier</code> parameter. This parameter can be used to enforce the resulting placemark to be formatted (and translated) according to the specified locale. The <code>localeIdentifier</code> should be formatted using the syntax: [languageCode]_[countryCode]. Use the <a href="http://www.loc.gov/standards/iso639-2/php/English_list.php">ISO 639-1 or ISO 639-2</a> standard for the language code and the 2 letter <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> standard for the country code. Some examples are:</p>
   │                                                                                                                                                                                                                                                                                                                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 83 out of 85 API elements (97.6 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:geolocator/geolocator.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:geolocator/geolocator.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:geolocator/geolocator.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:geolocator/geolocator.dart that declares support for platforms: Android, iOS

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support Flutter platform iOS

Because:

  • package:geolocator/geolocator.dart that imports:
  • package:google_api_availability/google_api_availability.dart that declares support for platforms: Android
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
equatable^1.0.31.2.31.2.3
flutterflutter0.0.00.0.0
google_api_availability^2.0.42.0.42.0.4
location_permissions^3.0.03.0.0+13.0.0+1
meta^1.1.61.1.81.2.2
vector_math^2.0.82.0.82.0.8
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
collection-1.14.131.14.13
sky_engine-0.0.990.0.99
typed_data-1.2.01.2.0

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

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

658
likes
95
pub points
99%
popularity

Publisher

baseflow.com

Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

equatable, flutter, google_api_availability, location_permissions, meta, vector_math

More

Packages that depend on geolocator