setIconWithCallback abstract method

void setIconWithCallback(
  1. ImageProvider image,
  2. IconStyle style,
  3. Callback onFinished, {
  4. required String name,
})

Creates or resets a named layer that contains an icon and its style.

onFinished Called when an icon is loaded.

Implementation

void setIconWithCallback(
  image_provider.ImageProvider image,
  mapkit_map_icon_style.IconStyle style,
  mapkit_map_callback.Callback onFinished, {
  required core.String name,
});