copyWith method

VideoTextureParams copyWith({
  1. int? textureId,
  2. Size? size,
  3. BoxFitMode? fit,
})

Implementation

VideoTextureParams copyWith({int? textureId, Size? size, BoxFitMode? fit}) {
  return VideoTextureParams(
    textureId: textureId ?? this.textureId,
    size: size ?? this.size,
    fit: fit ?? this.fit,
  );
}