CameraControls constructor
const
CameraControls({
- Key? key,
- required CameraController controller,
- bool enabled = true,
- bool autofocus = true,
- required Widget child,
Wraps child, routing its input to controller.
Implementation
const CameraControls({
super.key,
required this.controller,
this.enabled = true,
this.autofocus = true,
required this.child,
});