Skip to content

Commit 671dbb1

Browse files
committed
📝 Update README with resolution preset.
1 parent 408f0d1 commit 671dbb1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README-ZH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ Language: [English](README.md) | 中文简体
2727
- [x] 🎥 支持录像
2828
- [x] ⏱ 支持限制录像时间
2929

30-
31-
## 截图 📸
30+
## 截图 📸
3231

3332
| ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yrdqej30u01t017w.jpg) | ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yh3x4j30u01t0wuo.jpg) |
3433
|-----------------|------------------|
@@ -47,6 +46,7 @@ Language: [English](README.md) | 中文简体
4746
| maximumRecordingDuration | `Duration` | 录制视频最长时长 | `const Duration(seconds: 15)` |
4847
| theme | `ThemeData` | 选择器的主题 | `CameraPicker.themeData(C.themeColor)` |
4948
| textDelegate | `CameraPickerTextDelegate` | 控制部件中的文字实现 | `DefaultCameraPickerTextDelegate` |
49+
| resolutionPreset | `ResolutionPreset` | 相机的分辨率预设 | `ResolutionPreset.max` |
5050

5151
### 简单的使用方法
5252

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This project follows the [all-contributors](https://github.com/all-contributors/
4646
- [x] 🎥 Video recording support
4747
- [x] ⏱ Duration limitation support
4848

49-
## Screenshots 📸
49+
## Screenshots 📸
5050

5151
| ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yrdqej30u01t017w.jpg) | ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yh3x4j30u01t0wuo.jpg) |
5252
|-----------------|------------------|
@@ -65,6 +65,7 @@ Reference: [wechat_assets_picker#preparing-for-use](https://github.com/flutterca
6565
| maximumRecordingDuration | `Duration` | The maximum duration of the video recording process. | `const Duration(seconds: 15)` |
6666
| theme | `ThemeData` | Theme data for the picker. | `CameraPicker.themeData(C.themeColor)` |
6767
| textDelegate | `CameraPickerTextDelegate` | Text delegate that controls text in widgets. | `DefaultCameraPickerTextDelegate` |
68+
| resolutionPreset | `ResolutionPreset` | Present resolution for the camera. | `ResolutionPreset.max` |
6869

6970
### Simple usage
7071

0 commit comments

Comments
 (0)