mapbox_flutter 1.0.0-dev.1.1 copy "mapbox_flutter: ^1.0.0-dev.1.1" to clipboard
mapbox_flutter: ^1.0.0-dev.1.1 copied to clipboard

A new flutter plugin for mapbox. You can use it for your map backgrounds inside flutter applications

10
likes
70/ 160
pub points
0%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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-2-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting mapbox_flutter... Discovering libraries... Linking elements... Precaching local docs for 666543 elements... Initialized dartdoc with 1303 libraries Generating docs for library mapbox_flutter_web.dart from package:mapbox_flutter/mapbox_flutter_web.dart... Generating docs for library mapbox_flutter.dart from package:mapbox_flutter/mapbox_flutter.dart... Documented 2 public libraries in 96.1 seconds ERR: warning: unresolved doc reference [https://docs.mapbox.com/ios/maps/guides/install/] from package-mapbox_flutter: file:///tmp/pana_VRAPOL warning: mapbox_flutter has no library level documentation comments from mapbox_flutter: (file:///tmp/pana_VRAPOL/lib/mapbox_flutter_web.dart:1:9) warning: unresolved doc reference [MethodChannelMapboxGl] from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pana_VRAPOL/lib/src/mapbox_flutter_platform_interface.dart:14:42) in documentation inherited from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pana_VRAPOL/lib/src/mapbox_flutter_platform_interface.dart:14:42) warning: mapbox_flutter has no library level documentation comments from mapbox_flutter: (file:///tmp/pana_VRAPOL/lib/mapbox_flutter.dart:5:9) warning: unresolved doc reference [southwest.latitude, northeast.latitude] [376 more lines]

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:mapbox_flutter/mapbox_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:mapbox_flutter/mapbox_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

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

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 52 issues. Showing the first 2:

ERROR: The returned type 'MethodChannelMapboxFlutter' isn't returnable from a 'MapboxFlutterPlatfom' function, as required by the closure's context.

lib/src/mapbox_flutter_platform_interface.dart:15:13

   ╷
15 │       () => MethodChannelMapboxFlutter();
   │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/camera.dart:72:17

   ╷
72 │   bool operator ==(dynamic other) {
   │                 ^^
   ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
image ^3.0.5 3.3.0 4.3.0
mapbox_gl_dart ^0.2.0-nullsafety 0.2.1 0.2.1
meta ^1.7.0 1.15.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `^3.0.5` on image does not support the stable version `4.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • RETURN_OF_INVALID_TYPE_FROM_CLOSURE - lib/src/mapbox_flutter_platform_interface.dart:15:13 - The returned type 'MethodChannelMapboxFlutter' isn't returnable from a 'MapboxFlutterPlatfom' function, as required by the closure's context.

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

10
likes
70
pub points
0%
popularity

Publisher

unverified uploader

A new flutter plugin for mapbox. You can use it for your map backgrounds inside flutter applications

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, flutter_web_plugins, image, mapbox_gl_dart, meta

More

Packages that depend on mapbox_flutter