Getting error while using cameraX

I am using cameraX

I m getting error on this line : textureView.surfaceTexture = it.surfaceTexture

the error is : Val cannot be reassigned

This is my github link to these project