WidgetMarker constructor
const
WidgetMarker({
- required LatLng position,
- required String markerId,
- VoidCallback? onTap,
- required Widget widget,
- bool draggable = false,
- InfoWindow infoWindow = InfoWindow.noText,
- double rotation = 0.0,
- bool visible = true,
- double zIndex = 0.0,
- ValueChanged<
LatLng> ? onDrag, - ValueChanged<
LatLng> ? onDragStart, - ValueChanged<
LatLng> ? onDragEnd,
Implementation
const WidgetMarker({
required this.position,
required this.markerId,
this.onTap,
required this.widget,
this.draggable = false,
this.infoWindow = InfoWindow.noText,
this.rotation = 0.0,
this.visible = true,
this.zIndex = 0.0,
this.onDrag,
this.onDragStart,
this.onDragEnd,
}) : assert(markerId != '');