marker_icon 0.6.2 marker_icon: ^0.6.2 copied to clipboard
A package to use local image, network image and svg file plus customization in google_maps_flutter marker icon.
A package to use local image, network image and svg file plus customization in google_maps_flutter marker icon. #
Get started #
Add dependency #
dependencies:
marker_icon: ^0.6.1
Add rounded marker icon with border from network image: #
onPressed: () async {
markers.add(
Marker(
icon: await MarkerIcon.downloadResizePictureCircle(
'https://thegpscoordinates.net/photos/la/tehran_iran_5u679ezi8f.jpg',
size: 150,
addBorder: true,
borderColor: Colors.white,
borderSize: 15),
),
);
}