# Marker constructor

Marker(

1. {@required LatLng position,
2. double alpha: 1.0,
3. Offset anchor: const Offset(0.5, 0.5),
4. bool clickable: true,
5. bool draggable: false,
6. BitmapDescriptor icon: BitmapDescriptor.defaultMarker,
7. bool infoWindowEnable: true,
8. InfoWindow infoWindow: InfoWindow.noText,
9. double rotation: 0.0,
10. bool visible: true,
11. double zIndex: 0.0,
12. ArgumentCallback<String> onTap,
13. MarkerDragEndCallback onDragEnd}

)

## Implementation

    Marker({
      @required this.position,
      this.alpha = 1.0,
      this.anchor = const Offset(0.5, 0.5),
      this.clickable = true,
      this.draggable = false,
      this.icon = BitmapDescriptor.defaultMarker,
      this.infoWindowEnable = true,
      this.infoWindow = InfoWindow.noText,
      this.rotation = 0.0,
      this.visible = true,
      this.zIndex = 0.0,
      this.onTap,
      this.onDragEnd,
    })  : assert(position != null),
          assert(alpha == null || (0.0 <= alpha && alpha <= 1.0)),
          super();