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