CameraController.customConfigurator constructor

CameraController.customConfigurator({
  1. required CameraDescription description,
  2. required CameraConfigurator configurator,
})

Constructor for defining your own CameraConfigurator.

Use CameraController.availableCameras to get a list of available cameras.

Implementation

factory CameraController.customConfigurator({
  required CameraDescription description,
  required CameraConfigurator configurator,
}) {
  return CameraController._(
    description: description,
    configurator: configurator,
    api: _getCameraApi(description),
  );
}