FlatMarker constructor

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

Implementation

FlatMarker({
  this.flat = true,
  required LatLng position,
  double alpha = 1.0,
  Offset anchor = const Offset(0.5, 0.5),
  bool clickable = true,
  bool draggable = false,
  BitmapDescriptor icon = BitmapDescriptor.defaultMarker,
  bool infoWindowEnable = true,
  InfoWindow infoWindow = InfoWindow.noText,
  double rotation = 0.0,
  bool visible = true,
  double zIndex = 0.0,
  ArgumentCallback<String>? onTap,
  MarkerDragEndCallback? onDragEnd,
}) : super(
        position: position,
        alpha: alpha,
        anchor: anchor,
        clickable: clickable,
        draggable: draggable,
        icon: icon,
        infoWindowEnable: infoWindowEnable,
        infoWindow: infoWindow,
        rotation: rotation,
        visible: visible,
        zIndex: zIndex,
        onTap: onTap,
        onDragEnd: onDragEnd,
      );