File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ Language: [English](README.md) | 中文简体
27
27
- [x] 🎥 支持录像
28
28
- [x] ⏱ 支持限制录像时间
29
29
30
-
31
- ## 截图 📸
30
+ ## 截图 📸
32
31
33
32
| ![ ] ( https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yrdqej30u01t017w.jpg ) | ![ ] ( https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yh3x4j30u01t0wuo.jpg ) |
34
33
| -----------------| ------------------|
@@ -47,6 +46,7 @@ Language: [English](README.md) | 中文简体
47
46
| maximumRecordingDuration | ` Duration ` | 录制视频最长时长 | ` const Duration(seconds: 15) ` |
48
47
| theme | ` ThemeData ` | 选择器的主题 | ` CameraPicker.themeData(C.themeColor) ` |
49
48
| textDelegate | ` CameraPickerTextDelegate ` | 控制部件中的文字实现 | ` DefaultCameraPickerTextDelegate ` |
49
+ | resolutionPreset | ` ResolutionPreset ` | 相机的分辨率预设 | ` ResolutionPreset.max ` |
50
50
51
51
### 简单的使用方法
52
52
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ This project follows the [all-contributors](https://github.com/all-contributors/
46
46
- [x] 🎥 Video recording support
47
47
- [x] ⏱ Duration limitation support
48
48
49
- ## Screenshots 📸
49
+ ## Screenshots 📸
50
50
51
51
| ![ ] ( https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yrdqej30u01t017w.jpg ) | ![ ] ( https://tva1.sinaimg.cn/large/007S8ZIlgy1ggtt6yh3x4j30u01t0wuo.jpg ) |
52
52
| -----------------| ------------------|
@@ -65,6 +65,7 @@ Reference: [wechat_assets_picker#preparing-for-use](https://github.com/flutterca
65
65
| maximumRecordingDuration | ` Duration ` | The maximum duration of the video recording process. | ` const Duration(seconds: 15) ` |
66
66
| theme | ` ThemeData ` | Theme data for the picker. | ` CameraPicker.themeData(C.themeColor) ` |
67
67
| textDelegate | ` CameraPickerTextDelegate ` | Text delegate that controls text in widgets. | ` DefaultCameraPickerTextDelegate ` |
68
+ | resolutionPreset | ` ResolutionPreset ` | Present resolution for the camera. | ` ResolutionPreset.max ` |
68
69
69
70
### Simple usage
70
71
You can’t perform that action at this time.
0 commit comments