File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ Flutter SDK:`>=2.0.0` 。
75
75
| resolutionPreset | ` ResolutionPreset ` | 相机的分辨率预设 | ` ResolutionPreset.max ` |
76
76
| cameraQuarterTurns | ` int ` | 摄像机视图顺时针旋转次数,每次 90 度 | ` 0 ` |
77
77
| imageFormatGroup | ` ImageFormatGroup ` | 输出图像的格式描述 | ` ImageFormatGroup.unknown ` |
78
+ | preferredLensDirection | ` CameraLensDirection ` | 首次使用相机时首选的镜头方向 | ` CameraLensDirection.back ` |
78
79
| foregroundBuilder | ` Widget Function(CameraValue)? ` | 覆盖在相机预览上方的前景构建 | null |
79
80
| onEntitySaving | ` EntitySaveCallback? ` | 在查看器中保存图片时的回调 | null |
80
81
| onError | ` CameraErrorHandler? ` | 拍摄照片过程中的自定义错误处理 | null |
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ Flutter SDK: `>=2.0.0` .
76
76
| resolutionPreset | ` ResolutionPreset ` | Present resolution for the camera. | ` ResolutionPreset.max ` |
77
77
| cameraQuarterTurns | ` int ` | The number of clockwise quarter turns the camera view should be rotated. | ` 0 ` |
78
78
| imageFormatGroup | ` ImageFormatGroup ` | Describes the output of the raw image format. | ` ImageFormatGroup.unknown ` |
79
+ | preferredLensDirection | ` CameraLensDirection ` | Which lens direction is preferred when first using the camera. | ` CameraLensDirection.back ` |
79
80
| foregroundBuilder | ` Widget Function(CameraValue)? ` | The foreground widget builder which will cover the whole camera preview. | null |
80
81
| onEntitySaving | ` EntitySaveCallback? ` | The callback type define for saving entity in the viewer. | null |
81
82
| onError | ` CameraErrorHandler? ` | The error handler when any error occurred during the picking process. | null |
You can’t perform that action at this time.
0 commit comments