Marker constructor

Marker({
  1. required LatLng position,
  2. double opacity = 1,
  3. String title = '',
  4. MarkerAnimation animation = MarkerAnimation.BOUNCE,
  5. bool visible = true,
  6. int zIndex = 0,
  7. MarkerLabel? label,
  8. bool clickable = true,
  9. _BaseIcon? icon,
})

Implementation

Marker({
  required LatLng position,
  double opacity=1,
  String title='',
  this.animation=MarkerAnimation.BOUNCE,
  bool visible=true,
  int zIndex=0,
  MarkerLabel? label,
  bool clickable=true,
  _BaseIcon? icon
  }):_position=position,_opacity=opacity,_title=title,_label=label,_icon=icon,super(visible,clickable,zIndex);