widget_to_marker 1.0.5 copy "widget_to_marker: ^1.0.5" to clipboard
widget_to_marker: ^1.0.5 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add widget_to_marker

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  widget_to_marker: ^1.0.5

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:widget_to_marker/widget_to_marker.dart';
113
likes
150
points
25k
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, google_maps_flutter

More

Packages that depend on widget_to_marker