Marker constructor

Marker({
  1. required LatLng point,
  2. required WidgetBuilder builder,
  3. Key? key,
  4. double width = 30.0,
  5. double height = 30.0,
  6. bool? rotate,
  7. Offset? rotateOrigin,
  8. AlignmentGeometry? rotateAlignment,
  9. AnchorPos? anchorPos,
})

Implementation

Marker({
  required this.point,
  required this.builder,
  this.key,
  this.width = 30.0,
  this.height = 30.0,
  this.rotate,
  this.rotateOrigin,
  this.rotateAlignment,
  AnchorPos? anchorPos,
}) : anchor = Anchor.forPos(anchorPos, width, height);