CustomMarker constructor

CustomMarker({
  1. required String id,
  2. required LatLng position,
  3. required Widget widget,
  4. double width = 50,
  5. double height = 50,
  6. Alignment alignment = Alignment.center,
  7. int rotation = 0,
  8. String? fallbackAssetPath,
  9. String? fallbackAssetPackage,
})

Implementation

CustomMarker({
  required this.id,
  required this.position,
  required this.widget,
  this.width = 50,
  this.height = 50,
  this.alignment = Alignment.center,
  this.rotation = 0,
  this.fallbackAssetPath,
  this.fallbackAssetPackage,
});