sbb_maps_flutter 2.6.2
sbb_maps_flutter: ^2.6.2 copied to clipboard
Incorporate SBB styled maps into your flutter application based on Maplibre.
We analyzed this package 30 hours ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be well formed Unable to parse 5 image links.
README.md:2:62
╷
2 │ It is built on top of MapLibre and meant as a client for the <a href="(https://developer.sbb.ch/apis/journey-maps/information)">Journey Maps API</a>.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
266 out of 607 API elements (43.8 %) have documentation comments.
Some symbols that are missing documentation: sbb_maps_flutter, sbb_maps_flutter.AnnotationException, sbb_maps_flutter.AnnotationException.AnnotationException.new, sbb_maps_flutter.AnnotationException.msg, sbb_maps_flutter.LatLng.operator +.
10/10 points: Package has an example
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:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
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:sbb_maps_flutter/sbb_maps_flutter.dartthat imports:package:sbb_maps_flutter/src/sbb_map/sbb_map.dartthat imports:package:sbb_maps_flutter/src/sbb_map_locator/sbb_map_locator_impl.dartthat imports:package:sbb_maps_flutter/src/sbb_map_locator/geolocator_facade.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat imports:package:sbb_maps_flutter/src/sbb_map/sbb_map.dartthat imports:package:sbb_maps_flutter/src/sbb_map_locator/sbb_map_locator_impl.dartthat imports:package:sbb_maps_flutter/src/sbb_map_locator/geolocator_facade.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat imports:package:sbb_maps_flutter/src/sbb_map_routing/sbb_map_routing.dartthat imports:package:sbb_maps_flutter/src/sbb_map_routing/controller/sbb_routing_controller.dartthat imports:package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/feature_collection.dartthat imports:package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/feature.dartthat imports:package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/multi_polygon.dartthat imports:package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/polygon.dartthat imports:package:maplibre_gl/maplibre_gl.dartthat imports:package:maplibre_gl_platform_interface/maplibre_gl_platform_interface.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'isPointOfInterestVisible' is deprecated and shouldn't be used. Use SBBRokasPOIController.showPointsOfInterest. Deprecated after 2.4.0.
lib/src/sbb_map_poi/sbb_map_poi_settings.dart:54:15
╷
54 │ other.isPointOfInterestVisible == isPointOfInterestVisible;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sbb_map_poi/sbb_map_poi_settings.dart
INFO: 'isPointOfInterestVisible' is deprecated and shouldn't be used. Use SBBRokasPOIController.showPointsOfInterest. Deprecated after 2.4.0.
lib/src/sbb_map_poi/sbb_map_poi_settings.dart:54:43
╷
54 │ other.isPointOfInterestVisible == isPointOfInterestVisible;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sbb_map_poi/sbb_map_poi_settings.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
geolocator |
^14.0.2 |
14.0.2 | 14.0.2 | |
logger |
^2.0.2+1 |
2.6.2 | 2.6.2 | |
maplibre_gl |
^0.24.0 |
0.24.1 | 0.24.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
geoclue |
- | 0.1.1 | 0.1.1 | |
geolocator_android |
- | 5.0.2 | 5.0.2 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
geolocator_linux |
- | 0.2.3 | 0.2.3 | |
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 | |
gsettings |
- | 0.2.8 | 0.2.8 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.5.4 | 4.5.4 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
maplibre_gl_platform_interface |
- | 0.24.1 | 0.24.1 | |
maplibre_gl_web |
- | 0.24.1 | 0.24.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus |
- | 8.3.1 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.