Marker constructor
Marker({
- required LatLng point,
- required WidgetBuilder builder,
- Key? key,
- double width = 30.0,
- double height = 30.0,
- bool? rotate,
- Offset? rotateOrigin,
- AlignmentGeometry? rotateAlignment,
- 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);