MarkerWidget constructor

MarkerWidget({
  1. required String key,
  2. required LatLng coordinate,
  3. required Point<num> initialPosition,
  4. required void addMarkerState(
    1. MarkerState
    ),
  5. required Widget child,
  6. double angle = 0,
  7. double tiltRotate = 0,
  8. required double width,
  9. Offset? rotateOrigin,
  10. Alignment alignment = Alignment.center,
  11. required double height,
})

Implementation

MarkerWidget(
    {required String key,
    required this.coordinate,
    required this.initialPosition,
    required this.addMarkerState,
    required this.child,
    this.angle = 0,
    this.tiltRotate = 0,
    required this.width,
    this.rotateOrigin,
    this.alignment = Alignment.center,
    required this.height})
    : super(key: Key(key));