copyWith method

InteractiveOverlayImage copyWith({
  1. Key? key,
  2. ImageProvider<Object>? image,
  3. QuadLatLng? corners,
  4. int? alpha,
  5. double? handleSize,
  6. 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),
  );
}