mapsforge_flutter 2.0.3 copy "mapsforge_flutter: ^2.0.3" to clipboard
mapsforge_flutter: ^2.0.3 copied to clipboard

A port of mapsforge for pure flutter. Show maps while the device is offline.

25
likes
100/ 140
pub points
77%
popularity

We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 140):

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: LGPL-3.0.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting mapsforge_flutter... Discovering libraries... Linking elements... Precaching local docs for 1140373 elements... Initialized dartdoc with 1786 libraries Generating docs for library marker.dart from package:mapsforge_flutter/marker.dart... Generating docs for library maps.dart from package:mapsforge_flutter/maps.dart... Generating docs for library special.dart from package:mapsforge_flutter/special.dart... Generating docs for library core.dart from package:mapsforge_flutter/core.dart... Generating docs for library datastore.dart from package:mapsforge_flutter/datastore.dart... [1 more lines] ERR: warning: unresolved doc reference [https://github.com/mapsforge/mapsforge] from package-mapsforge_flutter: file:///tmp/pana_FHQVIR warning: mapsforge_flutter has no library level documentation comments from mapsforge_flutter: (file:///tmp/pana_FHQVIR/lib/marker.dart:1:9) warning: mapsforge_flutter has no library level documentation comments from mapsforge_flutter: (file:///tmp/pana_FHQVIR/lib/maps.dart:1:9) error: file already written at "mapsforge_flutter/mapsforge_flutter-library.html" for symbol mapsforge_flutter: (file:///tmp/pana_FHQVIR/lib/maps.dart:1:9) conflicting with file already generated by mapsforge_flutter: (file:///tmp/pana_FHQVIR/lib/marker.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. [44 more lines]

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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 does not support platform `Web`.

Because:

  • package:mapsforge_flutter/core.dart that imports:
  • package:mapsforge_flutter/src/cache/webtilebitmapcache.dart that imports:
  • package:mapsforge_flutter/src/utils/filehelper.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 360 issues. Showing the first 2:

WARNING: The value of the local variable 'bitmapWidth' isn't used.

lib/src/graphics/graphicutils.dart:61:12

   ╷
61 │     double bitmapWidth = picWidth * scaleFactor;
   │            ^^^^^^^^^^^
   ╵

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

WARNING: The value of the local variable 'bitmapHeight' isn't used.

lib/src/graphics/graphicutils.dart:62:12

   ╷
62 │     double bitmapHeight = picHeight * scaleFactor;
   │            ^^^^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.17.2 1.18.0 1.18.0
convert ^3.1.1 3.1.1 3.1.1
ecache ^2.0.3 2.0.3 2.0.3
flutter flutter 0.0.0 0.0.0
flutter_svg ^2.0.7 2.0.10+1 2.0.10+1
golden_toolkit ^0.15.0 0.15.0 0.15.0
http ^1.1.0 1.2.1 1.2.1
idb_shim ^2.3.1 2.4.1+1 2.4.1+1
logging ^1.2.0 1.2.0 1.2.0
path_provider ^2.1.1 2.1.3 2.1.3
provider ^6.0.5 6.1.2 6.1.2
queue ^3.1.0+2 3.1.0+2 3.1.0+2
rxdart ^0.27.7 0.27.7 0.27.7
synchronized ^3.1.0 3.1.0+1 3.1.0+1
xml ^6.2.2 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
flutter_test - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
leak_tracker - 10.0.0 10.0.5
leak_tracker_flutter_testing - 2.0.1 3.0.5
leak_tracker_testing - 2.0.1 3.0.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sembast - 3.7.1 3.7.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
vm_service - 13.0.0 14.2.0
web - 0.5.1 0.5.1
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4

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

Analyzed with Pana 0.22.2, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

25
likes
100
pub points
77%
popularity

Publisher

unverified uploader

A port of mapsforge for pure flutter. Show maps while the device is offline.

Repository (GitHub)
View/report issues

Documentation

API reference

License

LGPL-3.0 (LICENSE)

Dependencies

collection, convert, ecache, flutter, flutter_svg, golden_toolkit, http, idb_shim, logging, path_provider, provider, queue, rxdart, synchronized, xml

More

Packages that depend on mapsforge_flutter