sbb_maps_flutter 2.6.0 copy "sbb_maps_flutter: ^2.6.0" to clipboard
sbb_maps_flutter: ^2.6.0 copied to clipboard

Incorporate SBB styled maps into your flutter application based on Maplibre.

6
likes
135/ 160
pub points
775
downloads

We analyzed this package 44 hours ago, and awarded it 135 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

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/SchweizerischeBundesbahnen/journey-maps-client-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 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>.
  │                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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 +.

Passed check 10/10 points: Package has an example

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

Passed check 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.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:sbb_maps_flutter/sbb_maps_flutter.dart that 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.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map/sbb_map.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_locator/sbb_map_locator_impl.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_locator/geolocator_facade.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:sbb_maps_flutter/sbb_maps_flutter.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map/sbb_map.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_locator/sbb_map_locator_impl.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_locator/geolocator_facade.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:sbb_maps_flutter/sbb_maps_flutter.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_routing/sbb_map_routing.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_routing/controller/sbb_routing_controller.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/feature_collection.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/feature.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/multi_polygon.dart that imports:
  • package:sbb_maps_flutter/src/sbb_map_routing/geo_json_routing_entities/polygon.dart that imports:
  • package:maplibre_gl/maplibre_gl.dart that imports:
  • package:maplibre_gl_platform_interface/maplibre_gl_platform_interface.dart that 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 45 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

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Partially passed check 0/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 >=12.0.0 <14.0.0 13.0.4 14.0.1
logger ^2.0.2+1 2.6.0 2.6.0
maplibre_gl ^0.21.0 0.21.0 0.22.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
characters - 1.4.0 1.4.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
geolocator_android - 4.6.2 5.0.1+1
geolocator_apple - 2.3.13 2.3.13
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
image - 4.5.4 4.5.4
js - 0.7.2 0.7.2 Discontinued
maplibre_gl_platform_interface - 0.21.0 0.22.0
maplibre_gl_web - 0.21.0 0.22.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.0
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
xml - 6.5.0 6.6.0

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

The constraint `>=12.0.0 <14.0.0` on geolocator does not support the stable version `14.0.0`.

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

The constraint `^0.21.0` on maplibre_gl does not support the stable version `0.22.0`, that was published 22 days ago.

When maplibre_gl is 30 days old, this package will no longer be awarded points in this category.

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

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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
135
points
775
downloads

Publisher

verified publishersbb.ch

Weekly Downloads

Incorporate SBB styled maps into your flutter application based on Maplibre.

Repository (GitHub)
View/report issues
Contributing

Topics

#map #maps #maplibre

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, geolocator, logger, maplibre_gl

More

Packages that depend on sbb_maps_flutter