widget_to_marker 1.0.4 copy "widget_to_marker: ^1.0.4" to clipboard
widget_to_marker: ^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.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add widget_to_marker

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 dart pub get):

dependencies:
  widget_to_marker: ^1.0.4

Alternatively, your editor might support dart pub get or 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
0
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)
View/report issues

License

unknown (license)

Dependencies

flutter, google_maps_flutter

More

Packages that depend on widget_to_marker