marker_icon 0.7.1 marker_icon: ^0.7.1 copied to clipboard
A package to convert Widget, Local image, Netwok image, Svg file to BitmapDescriptor which can use in google_maps_flutter icon marker.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add marker_icon
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
marker_icon: ^0.7.1
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:marker_icon/marker_icon.dart';