CaptureInput constructor Null safety

CaptureInput()