SaveConfig.photoAndVideo constructor
SaveConfig.photoAndVideo({
- required FilePathBuilder photoPathBuilder,
- required FilePathBuilder videoPathBuilder,
- CaptureMode initialCaptureMode = CaptureMode.photo,
You want to be able to take both photos and videos
Implementation
SaveConfig.photoAndVideo({
required FilePathBuilder photoPathBuilder,
required FilePathBuilder videoPathBuilder,
CaptureMode initialCaptureMode = CaptureMode.photo,
}) : this._(
photoPathBuilder: photoPathBuilder,
videoPathBuilder: videoPathBuilder,
captureModes: [CaptureMode.photo, CaptureMode.video],
initialCaptureMode: initialCaptureMode,
);