setVisible abstract method

void setVisible(
  1. Animation animation, {
  2. required bool visible,
  3. Callback? onFinished,
})

Manages visibility of the object.

animation Describes the transition between visible and not visible states. onFinished Called when the transition is finished.

Implementation

void setVisible(
  mapkit_animation.Animation animation, {
  required core.bool visible,
  mapkit_map_callback.Callback? onFinished,
});