widget_to_marker_item 1.0.4 copy "widget_to_marker_item: ^1.0.4" to clipboard
widget_to_marker_item: ^1.0.4 copied to clipboard

A package to convert any Flutter Widget to BitmapDescriptor which can be used in google_maps_flutter icon marker.

50/ 160
pub points
11
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: widget_to_marker_item.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: widget_to_marker_item,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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

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

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

0 out of 0 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The named parameter 'size' isn't defined.

lib/src/widget_to_bitmap_descriptor.dart:49:7

   ╷
49 │       size: logicalSize,
   │       ^^^^
   ╵

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

INFO: 'fromBytes' is deprecated and shouldn't be used. Use BitmapDescriptor.bytes method instead.

lib/src/widget_to_bitmap_descriptor.dart:23:29

   ╷
23 │     return BitmapDescriptor.fromBytes(pngBytes);
   │                             ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
google_maps_flutter any 2.16.0 2.16.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
google_maps - 8.2.0 8.2.0
google_maps_flutter_android - 2.19.3 2.19.3
google_maps_flutter_ios - 2.18.0 2.18.0
google_maps_flutter_platform_interface - 2.15.0 2.15.0
google_maps_flutter_web - 0.6.2 0.6.2
html - 0.15.6 0.15.6
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sanitize_html - 2.1.0 2.1.0
source_span - 1.10.2 1.10.2
stream_transform - 2.1.1 2.1.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1

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

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_NAMED_PARAMETER - lib/src/widget_to_bitmap_descriptor.dart:49:7 - The named parameter 'size' isn't defined.

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.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
50
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A package to convert any Flutter Widget to BitmapDescriptor which can be used in google_maps_flutter icon marker.

License

BSD-3-Clause (license)

Dependencies

flutter, google_maps_flutter

More

Packages that depend on widget_to_marker_item