XCameraPreview constructor

const XCameraPreview({
  1. Key? key,
  2. required XCameraController controller,
})

Binds the session whose frames fill the preview.

Implementation

const XCameraPreview({super.key, required this.controller});