smmap_lv_interface 1.0.2 copy "smmap_lv_interface: ^1.0.2" to clipboard
smmap_lv_interface: ^1.0.2 copied to clipboard

A common platform interface for the mapbox_gl plugin.

75/ 160
pub points
27
downloads

We analyzed this package 29 hours ago, and awarded it 75 pub points (of a possible 160):

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Marlborozx/flutter-mapbox-gl was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

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

119 out of 384 API elements (31.0 %) have documentation comments.

Some symbols that are missing documentation: smmap_lv_interface, smmap_lv_interface.AndroidViewWithWrappedController, smmap_lv_interface.AndroidViewWithWrappedController.AndroidViewWithWrappedController.new, smmap_lv_interface.AndroidViewWithWrappedController.clipBehavior, smmap_lv_interface.AndroidViewWithWrappedController.creationParams.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:smmap_lv_interface/smmap_lv_interface.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 71 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'CameraPosition'.

lib/src/camera.dart:86:23

   ╷
86 │   int get hashCode => hashValues(bearing, target, tilt, zoom);
   │                       ^^^^^^^^^^
   ╵

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

ERROR: The method 'hashValues' isn't defined for the type 'LatLng'.

lib/src/location.dart:49:23

   ╷
49 │   int get hashCode => hashValues(latitude, longitude);
   │                       ^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
meta ^1.0.5 1.16.0 1.17.0
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
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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 7 errors:

  • UNDEFINED_METHOD - lib/src/camera.dart:86:23 - The method 'hashValues' isn't defined for the type 'CameraPosition'.
  • UNDEFINED_METHOD - lib/src/location.dart:49:23 - The method 'hashValues' isn't defined for the type 'LatLng'.
  • UNDEFINED_METHOD - lib/src/location.dart:104:23 - The method 'hashValues' isn't defined for the type 'LatLngBounds'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
75
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the mapbox_gl plugin.

Homepage

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, meta

More

Packages that depend on smmap_lv_interface