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.

26
likes
110/ 160
pub points
365
downloads

We analyzed this package 42 hours ago, and awarded it 110 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: 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 1245556 elements... Initialized dartdoc with 1884 libraries Generating docs for library special.dart from package:mapsforge_flutter/special.dart... Generating docs for library datastore.dart from package:mapsforge_flutter/datastore.dart... Generating docs for library maps.dart from package:mapsforge_flutter/maps.dart... Generating docs for library marker.dart from package:mapsforge_flutter/marker.dart... Generating docs for library core.dart from package:mapsforge_flutter/core.dart... [1 more lines] ERR: warning: unresolved doc reference [https://github.com/mapsforge/mapsforge] from package-mapsforge_flutter: file:///tmp/pana_ENUGVR warning: mapsforge_flutter has no library level documentation comments from mapsforge_flutter: (file:///tmp/pana_ENUGVR/lib/special.dart:1:9) warning: mapsforge_flutter has no library level documentation comments from mapsforge_flutter: (file:///tmp/pana_ENUGVR/lib/datastore.dart:1:9) error: file already written at "mapsforge_flutter/index.html" for symbol mapsforge_flutter: (file:///tmp/pana_ENUGVR/lib/datastore.dart:1:9) conflicting with file already generated by mapsforge_flutter: (file:///tmp/pana_ENUGVR/lib/special.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. [58 more lines]

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mapsforge_flutter/core.dart that imports:
  • package:mapsforge_flutter/src/view/mapview_widget.dart that imports:
  • package:mapsforge_flutter/src/layer/tilelayer.dart that imports:
  • package:mapsforge_flutter/src/layer/job/jobset.dart that imports:
  • package:mapsforge_flutter/src/rendertheme/shape/shape.dart that imports:
  • package:mapsforge_flutter/src/paintelements/shape_paint.dart that imports:
  • package:mapsforge_flutter/src/rendertheme/wayproperties.dart that imports:
  • package:mapsforge_flutter/maps.dart that imports:
  • package:mapsforge_flutter/src/renderer/arcgisonlinerenderer.dart that imports:
  • package:mapsforge_flutter/src/renderer/jobrenderer.dart that imports:
  • package:mapsforge_flutter/src/layer/job/jobresult.dart that imports:
  • package:mapsforge_flutter/src/rendertheme/renderinfo.dart that imports:
  • package:mapsforge_flutter/src/paintelements/shape_paint_caption.dart that imports:
  • package:mapsforge_flutter/src/rendertheme/shape/shape_caption.dart that imports:
  • package:mapsforge_flutter/src/rendertheme/xml/rulebuilder.dart that imports:
  • package:mapsforge_flutter/src/rendertheme/renderinstruction/renderinstruction_hillshading.dart that imports:
  • package:mapsforge_flutter/src/layer/hills/hillsrenderconfig.dart that imports:
  • package:mapsforge_flutter/src/layer/hills/memorycachinghgtreadertilesource.dart that imports:
  • package:mapsforge_flutter/src/layer/hills/hgtcache.dart that imports:
  • package:mapsforge_flutter/src/layer/hills/shadingalgorithm.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 381 issues. Showing the first 2:

WARNING: The declaration 'GraphicFactory._' isn't referenced.

lib/src/graphics/graphicfactory.dart:19:24

   ╷
19 │   const GraphicFactory._();
   │                        ^
   ╵

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

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

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

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

Package Constraint Compatible Latest
collection ^1.17.2 1.19.0 1.19.1
convert ^3.1.1 3.1.2 3.1.2
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.16 2.0.16
golden_toolkit ^0.15.0 0.15.0 0.15.0
http ^1.1.0 1.2.2 1.2.2
idb_shim ^2.3.1 2.6.1+7 2.6.1+7
logging ^1.2.0 1.3.0 1.3.0
path_provider ^2.1.1 2.1.5 2.1.5
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.28.0
synchronized ^3.1.0 3.3.0+3 3.3.0+3
xml ^6.2.2 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
flutter_test - 0.0.0 0.0.0
http_parser - 4.1.1 4.1.1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sembast - 3.8.0+1 3.8.0+1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.1
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
string_scanner - 1.3.0 1.4.1
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^0.27.7` on rxdart does not support the stable version `0.28.0`.

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

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

26
likes
110
points
365
downloads

Publisher

unverified uploader

Weekly Downloads

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