MarkerSpec constructor

const MarkerSpec({
  1. required String id,
  2. required LatLng position,
  3. required Object iconKey,
  4. required Widget child,
  5. required Size size,
  6. Alignment alignment = Alignment.center,
  7. bool rotate = false,
  8. double zIndex = 0,
  9. bool tappable = true,
  10. NativeMarkerParams? nativeParams,
})

Implementation

const MarkerSpec({
  required this.id,
  required this.position,
  required this.iconKey,
  required this.child,
  required this.size,
  this.alignment = Alignment.center,
  this.rotate = false,
  this.zIndex = 0,
  this.tappable = true,
  this.nativeParams,
});