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