location2_web 6.0.1 copy "location2_web: ^6.0.1" to clipboard
location2_web: ^6.0.1 copied to clipboard

outdated

Web implementation of the location plugin

90/ 160
pub points
24
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

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

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

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.

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

13 out of 14 API elements (92.9 %) have documentation comments.

Some symbols that are missing documentation: location2_web.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:location2_web/location2_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:location2_web/location2_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:location2_web/location2_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:location2_web/location2_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:location2_web/location2_web.dart that declares support for platforms: Web.

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

Package not compatible with platform Web

Because:

  • package:location2_web/location2_web.dart that imports:
  • package:location2_platform_interface/location2_platform_interface.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: Missing concrete implementations of 'abstract class LocationPlatform extends PlatformInterface.openAppSettings' and 'abstract class LocationPlatform extends PlatformInterface.openLocationSettings'.

lib/location2_web.dart:8:7

  ╷
8 │ class LocationWeb extends LocationPlatform {
  │       ^^^^^^^^^^^
  ╵

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

ERROR: The argument type 'double?' can't be assigned to the parameter type 'int?'.

lib/location2_web.dart:94:13

   ╷
94 │       time: result.timestamp?.toDouble(),
   │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
location2_platform_interface ^6.0.1 6.0.4 6.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0

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

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

Web implementation of the location plugin

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, location2_platform_interface

More

Packages that depend on location2_web

Packages that implement location2_web