mapbox_flutter 1.0.0-dev.1.1
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
We analyzed this package 8 hours ago, and awarded it 70 pub points (of a possible 160):
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.
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 687162 elements...
Initialized dartdoc with 1348 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 66.9 seconds
ERR:
warning: unresolved doc reference [https://docs.mapbox.com/ios/maps/guides/install/]
from package-mapbox_flutter: file:///tmp/pana_UYKZGS
warning: mapbox_flutter has no library level documentation comments
from mapbox_flutter: (file:///tmp/pana_UYKZGS/lib/mapbox_flutter_web.dart:1:1)
warning: unresolved doc reference [MethodChannelMapboxGl]
from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pana_UYKZGS/lib/mapbox_flutter_web.dart:14:42)
in documentation inherited from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pana_UYKZGS/lib/mapbox_flutter_web.dart:14:42)
warning: mapbox_flutter has no library level documentation comments
from mapbox_flutter: (file:///tmp/pana_UYKZGS/lib/mapbox_flutter.dart:1:1)
warning: unresolved doc reference [southwest.latitude, northeast.latitude]
[381 more lines]
10/10 points: Package has an example
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.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:mapbox_flutter/mapbox_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:mapbox_flutter/mapbox_flutter.dartthat declares support for platforms:Android,iOS,Web.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 139 issues. Showing the first 2:
ERROR: The method 'hashValues' isn't defined for the type 'CameraPosition'.
lib/src/camera.dart:83:23
╷
83 │ 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:52:23
╷
52 │ int get hashCode => hashValues(latitude, longitude);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/location.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
image |
^3.0.5 |
3.3.0 | 4.5.4 | |
mapbox_gl_dart |
^0.2.0-nullsafety |
0.2.1 | 0.2.1 | |
meta |
^1.7.0 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.1 |
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 6 errors:
UNDEFINED_METHOD-lib/src/camera.dart:83:23- The method 'hashValues' isn't defined for the type 'CameraPosition'.UNDEFINED_METHOD-lib/src/location.dart:52:23- The method 'hashValues' isn't defined for the type 'LatLng'.UNDEFINED_METHOD-lib/src/location.dart:105: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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.