SaveConfig.photoAndVideo constructor
SaveConfig.photoAndVideo({
- CaptureRequestBuilder? photoPathBuilder,
- CaptureRequestBuilder? videoPathBuilder,
- CaptureMode initialCaptureMode = CaptureMode.photo,
- VideoOptions? videoOptions,
- ExifPreferences? exifPreferences,
- bool mirrorFrontCamera = false,
You want to be able to take both photos and videos
Implementation
SaveConfig.photoAndVideo({
CaptureRequestBuilder? photoPathBuilder,
CaptureRequestBuilder? videoPathBuilder,
CaptureMode initialCaptureMode = CaptureMode.photo,
VideoOptions? videoOptions,
ExifPreferences? exifPreferences,
bool mirrorFrontCamera = false,
}) : this._(
photoPathBuilder: photoPathBuilder ??
(sensors) => AwesomeCaptureRequestBuilder()
.build(captureMode: CaptureMode.photo, sensors: sensors),
videoPathBuilder: videoPathBuilder ??
(sensors) => AwesomeCaptureRequestBuilder()
.build(captureMode: CaptureMode.video, sensors: sensors),
captureModes: [CaptureMode.photo, CaptureMode.video],
initialCaptureMode: initialCaptureMode,
videoOptions: videoOptions,
exifPreferences: exifPreferences,
mirrorFrontCamera: mirrorFrontCamera,
);