CameraDevice constructor
const
CameraDevice({
- required String id,
- required String name,
- required int position,
- int lensType = 0,
- required int sensorOrientation,
- double minZoom = 1.0,
- required double maxZoom,
- required double neutralZoom,
- int hasFlash = 0,
- int hasTorch = 0,
- required int maxPhotoWidth,
- required int maxPhotoHeight,
- double focalLength = 3.5,
- double aperture = 1.8,
Implementation
const CameraDevice({
required this.id,
required this.name,
required this.position,
this.lensType = 0,
required this.sensorOrientation,
this.minZoom = 1.0,
required this.maxZoom,
required this.neutralZoom,
this.hasFlash = 0,
this.hasTorch = 0,
required this.maxPhotoWidth,
required this.maxPhotoHeight,
this.focalLength = 3.5,
this.aperture = 1.8,
});