updateCopy method
GroundOverlay
updateCopy({
- double? bearing,
- bool? clickable,
- double? width,
- double? height,
- BitmapDescriptor? imageDescriptor,
- LatLng? position,
- LatLngBounds? bounds,
- Offset? anchor,
- double? transparency,
- bool? visible,
- double? zIndex,
- VoidCallback? onClick,
Implementation
GroundOverlay updateCopy({
double? bearing,
bool? clickable,
double? width,
double? height,
BitmapDescriptor? imageDescriptor,
LatLng? position,
LatLngBounds? bounds,
Offset? anchor,
double? transparency,
bool? visible,
double? zIndex,
VoidCallback? onClick,
}) {
return GroundOverlay(
groundOverlayId: groundOverlayId,
bearing: bearing ?? this.bearing,
clickable: clickable ?? this.clickable,
width: width ?? this.width,
height: height ?? this.height,
imageDescriptor: imageDescriptor ?? this.imageDescriptor,
position: position ?? this.position,
bounds: bounds ?? this.bounds,
anchor: anchor ?? this.anchor,
transparency: transparency ?? this.transparency,
visible: visible ?? this.visible,
zIndex: zIndex ?? this.zIndex,
onClick: onClick ?? this.onClick,
);
}