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';
59
likes
140
pub points
94%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, google_maps_flutter

More

Packages that depend on widget_to_marker