PhotoCameraState constructor
PhotoCameraState({
- required CameraContext cameraContext,
- required CaptureRequestBuilder filePathBuilder,
- required ExifPreferences exifPreferences,
Implementation
PhotoCameraState({
required CameraContext cameraContext,
required this.filePathBuilder,
required this.exifPreferences,
}) : super(cameraContext) {
_saveGpsLocationController =
BehaviorSubject.seeded(exifPreferences.saveGPSLocation);
saveGpsLocation$ = _saveGpsLocationController.stream;
}