CameraPreview constructor
const
CameraPreview(
- CameraController controller, {
- Key? key,
- Widget? child,
Creates a preview widget for the given camera controller.
Implementation
const CameraPreview(this.controller, {super.key, this.child});