map_marker_cache 1.0.1 copy "map_marker_cache: ^1.0.1" to clipboard
map_marker_cache: ^1.0.1 copied to clipboard

A Flutter library for caching custom Google Maps marker icons locally using ObjectBox, optimizing performance and enabling offline support.

125/ 160
pub points
41
downloads

We analyzed this package 17 hours ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

354 out of 457 API elements (77.5 %) have documentation comments.

Some symbols that are missing documentation: cached_icon, icon_cache_service, main, main.MyApp, main.MyApp.MyApp.new.

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:map_marker_cache/map_marker_cache.dart that imports:
  • package:google_maps_flutter/google_maps_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:map_marker_cache/map_marker_cache.dart that imports:
  • package:map_marker_cache/services/icon_cache_service.dart that imports:
  • package:map_marker_cache/objectbox.g.dart that imports:
  • package:objectbox_flutter_libs/objectbox_flutter_libs.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `iOS`.

Because:

  • package:map_marker_cache/map_marker_cache.dart that imports:
  • package:google_maps_flutter/google_maps_flutter.dart that imports:
  • package:google_maps_flutter_android/google_maps_flutter_android.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:map_marker_cache/map_marker_cache.dart that imports:
  • package:map_marker_cache/services/icon_cache_service.dart that imports:
  • package:map_marker_cache/models/cached_icon.dart that imports:
  • package:objectbox/objectbox.dart that imports:
  • package:objectbox/src/transaction.dart that imports:
  • package:objectbox/src/native/transaction.dart that imports:
  • package:objectbox/src/native/bindings/helpers.dart that imports:
  • package:objectbox/src/native/bindings/bindings.dart that imports:
  • package:objectbox/src/native/bindings/objectbox_c.dart that imports:
  • dart:ffi

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.cn/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 3 issues. Showing the first 2:

/tmp/pana_DHBYLV/lib/map_marker_cache.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_DHBYLV/lib/models/cached_icon.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
cupertino_icons ^1.0.8 1.0.8 1.0.8
flat_buffers ^23.5.26 23.5.26 23.5.26
flutter_svg ^2.0.10+1 2.2.1 2.2.1
google_maps_flutter ^2.6.1 2.13.1 2.13.1
objectbox ^4.0.0 4.3.1 5.0.0
objectbox_flutter_libs ^4.0.0 4.3.1 5.0.0
path ^1.9.1 1.9.1 1.9.1
path_provider ^2.1.3 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
ffi - 2.1.4 2.1.4
flutter_plugin_android_lifecycle - 2.0.30 2.0.30
google_maps - 8.2.0 8.2.0
google_maps_flutter_android - 2.18.2 2.18.2
google_maps_flutter_ios - 2.15.5 2.15.5
google_maps_flutter_platform_interface - 2.14.0 2.14.0
google_maps_flutter_web - 0.5.14+2 0.5.14+2
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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 - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sanitize_html - 2.1.0 2.1.0
source_span - 1.10.1 1.10.1
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.19 1.1.19
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
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.

The constraint `^4.0.0` on objectbox does not support the stable version `5.0.0`, that was published 1 days ago.

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

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

The constraint `^4.0.0` on objectbox_flutter_libs does not support the stable version `5.0.0`, that was published 1 days ago.

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

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/map_marker_cache.dart:66:29 - The method 'bytes' isn't defined for the type 'BitmapDescriptor'.

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.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
125
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter library for caching custom Google Maps marker icons locally using ObjectBox, optimizing performance and enabling offline support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flat_buffers, flutter, flutter_svg, google_maps_flutter, objectbox, objectbox_flutter_libs, path, path_provider

More

Packages that depend on map_marker_cache