CameraSelector constructor

const CameraSelector({
  1. Key? key,
  2. required List<CameraDescription> cameras,
  3. required int selectedCameraKey,
  4. bool infoPopUpShow = true,
  5. Widget? infoPopUpContent,
  6. void onCameraChanged(
    1. int
    )?,
})

Implementation

const CameraSelector({
  super.key,
  required this.cameras,
  required this.selectedCameraKey,
  this.infoPopUpShow = true,
  this.infoPopUpContent,
  this.onCameraChanged,
});