CameraControls constructor

const CameraControls({
  1. Key? key,
  2. required CameraController controller,
  3. bool enabled = true,
  4. bool autofocus = true,
  5. 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,
});