setImage abstract method
void
setImage(
- ImageProvider image, {
- IconStyle style = const mapkit_map_icon_style.IconStyle(),
- Callback? onFinished,
Sets the image for the icon.
style The icon style. If not specified, the default style is used.
onFinished Optional callback invoked when the icon is loaded.
Implementation
void setImage(
image_provider.ImageProvider image, {
mapkit_map_icon_style.IconStyle style =
const mapkit_map_icon_style.IconStyle(),
mapkit_map_callback.Callback? onFinished,
});