Skip to content

Commit e62dd3b

Browse files
committed
📝 Address preferredLensDirection in documents
1 parent 8df4195 commit e62dd3b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README-ZH.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Flutter SDK:`>=2.0.0` 。
7575
| resolutionPreset | `ResolutionPreset` | 相机的分辨率预设 | `ResolutionPreset.max` |
7676
| cameraQuarterTurns | `int` | 摄像机视图顺时针旋转次数,每次 90 度 | `0` |
7777
| imageFormatGroup | `ImageFormatGroup` | 输出图像的格式描述 | `ImageFormatGroup.unknown` |
78+
| preferredLensDirection | `CameraLensDirection` | 首次使用相机时首选的镜头方向 | `CameraLensDirection.back` |
7879
| foregroundBuilder | `Widget Function(CameraValue)?` | 覆盖在相机预览上方的前景构建 | null |
7980
| onEntitySaving | `EntitySaveCallback?` | 在查看器中保存图片时的回调 | null |
8081
| onError | `CameraErrorHandler?` | 拍摄照片过程中的自定义错误处理 | null |

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Flutter SDK: `>=2.0.0` .
7676
| resolutionPreset | `ResolutionPreset` | Present resolution for the camera. | `ResolutionPreset.max` |
7777
| cameraQuarterTurns | `int` | The number of clockwise quarter turns the camera view should be rotated. | `0` |
7878
| 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` |
7980
| foregroundBuilder | `Widget Function(CameraValue)?` | The foreground widget builder which will cover the whole camera preview. | null |
8081
| onEntitySaving | `EntitySaveCallback?` | The callback type define for saving entity in the viewer. | null |
8182
| onError | `CameraErrorHandler?` | The error handler when any error occurred during the picking process. | null |

0 commit comments

Comments
 (0)