location_manager_flutter 0.1.3 copy "location_manager_flutter: ^0.1.3" to clipboard
location_manager_flutter: ^0.1.3 copied to clipboard

The location_manager package provides a convenient and easy-to-use Dart API for handling location-based services within Flutter applications. It offers methods to fetch detailed address components bas [...]

0
likes
100/ 160
pub points
56
downloads

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

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 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.

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: location_manager_flutter,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: location_manager_flutter.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

6 out of 23 API elements (26.1 %) have documentation comments.

Some symbols that are missing documentation: location_manager, location_manager.AddressComponent.AddressComponent.new, location_manager.AddressComponent.address1, location_manager.AddressComponent.address2, location_manager.AddressComponent.city.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.

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

Package does not support platform `Android`.

Because:

  • package:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:location_manager_flutter/location_manager.dart that imports:
  • package:location_manager_flutter/src/location_manager.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/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 5 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/location_manager.dart:228:23

    ╷
228 │           addresses[i]!: distance
    │                       ^
    ╵

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

INFO: Dangling library doc comment.

lib/src/location_manager.dart:1:1

  ╷
1 │ /// The LocationManager class in Dart provides methods for fetching address components based on GPS
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/location_manager.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
fluttertoast ^8.2.8 8.2.12 8.2.12
geocoding ^3.0.0 3.0.0 4.0.0
geolocator ^13.0.1 13.0.4 14.0.1
permission_handler ^11.3.1 11.4.0 12.0.0+1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
geocoding_android - 3.3.1 4.0.1
geocoding_ios - 3.0.2 3.0.2
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 4.6.2 5.0.1+1
geolocator_apple - 2.3.13 2.3.13
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 4.1.3 4.1.3
geolocator_windows - 0.2.5 0.2.5
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1

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

Found 3 issues. Showing the first 2:

The constraint `^3.0.0` on geocoding does not support the stable version `4.0.0`, that was published 29 days ago.

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

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

The constraint `^13.0.1` on geolocator does not support the stable version `14.0.0`.

Try running dart pub upgrade --major-versions geolocator 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
56
downloads

Publisher

unverified uploader

Weekly Downloads

The location_manager package provides a convenient and easy-to-use Dart API for handling location-based services within Flutter applications. It offers methods to fetch detailed address components based on GPS coordinates, latitude and longitude, or an address string, as well as to manage location permissions effectively.

Documentation

API reference

License

unknown (license)

Dependencies

flutter, fluttertoast, geocoding, geolocator, permission_handler

More

Packages that depend on location_manager_flutter