copyWith method
InteractiveOverlayImage
copyWith({
- Key? key,
- ImageProvider<
Object> ? image, - QuadLatLng? corners,
- int? alpha,
- double? handleSize,
- List<
OverlayOptions> ? options,
Implementation
InteractiveOverlayImage copyWith({
Key? key,
ImageProvider? image,
QuadLatLng? corners,
int? alpha,
double? handleSize,
List<OverlayOptions>? options,
}) {
return InteractiveOverlayImage(
key: key ?? this.key,
image: image ?? this.image,
corners: corners ?? this.corners,
alpha: alpha ?? this.alpha,
handleSize: handleSize ?? this.handleSize,
options: List<OverlayOptions>.of(options ?? this.options),
);
}