@@ -71,18 +71,20 @@ Reference:
71
71
72
72
## Usage 📖
73
73
74
- | Name | Type | Description | Default Value |
75
- | ------------------------ | ------------------------------ | -------------------------------------------------------------------------------------------- | -------------------------------------- |
76
- | allowPinchToZoom | ` bool ` | Whether users can zoom the camera by pinch. | ` true ` |
77
- | allowRecording | ` bool ` | Whether the picker can record video. | ` false ` |
78
- | onlyAllowRecording | ` bool ` | Whether the picker can only record video. Only available when ` isAllowRecording ` is ` true ` . | ` false ` |
79
- | enableAudio | ` bool ` | Whether Whether the picker should record audio. Only available with recording. | ` true ` |
80
- | maximumRecordingDuration | ` Duration ` | The maximum duration of the video recording process. | ` const Duration(seconds: 15) ` |
81
- | theme | ` ThemeData ` | Theme data for the picker. | ` CameraPicker.themeData(C.themeColor) ` |
82
- | textDelegate | ` CameraPickerTextDelegate ` | Text delegate that controls text in widgets. | ` DefaultCameraPickerTextDelegate ` |
83
- | resolutionPreset | ` ResolutionPreset ` | Present resolution for the camera. | ` ResolutionPreset.max ` |
84
- | cameraQuarterTurns | ` int ` | The number of clockwise quarter turns the camera view should be rotated. | ` 0 ` |
85
- | foregroundBuilder | ` Widget Function(CameraValue) ` | The foreground widget builder which will cover the whole camera preview. | null |
74
+ | Name | Type | Description | Default Value |
75
+ | ---------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------- | -------------------------------------- |
76
+ | allowRecording | ` bool ` | Whether the picker can record video. | ` false ` |
77
+ | onlyAllowRecording | ` bool ` | Whether the picker can only record video. Only available when ` isAllowRecording ` is ` true ` . | ` false ` |
78
+ | enableAudio | ` bool ` | Whether Whether the picker should record audio. Only available with recording. | ` true ` |
79
+ | enableSetExposure | ` bool ` | Whether users can set the exposure point by tapping. | ` true ` |
80
+ | enableExposureControlOnPoint | ` bool ` | Whether users can adjust exposure according to the set point. | ` true ` |
81
+ | enablePinchToZoom | ` bool ` | Whether users can zoom the camera by pinch. | ` true ` |
82
+ | maximumRecordingDuration | ` Duration ` | The maximum duration of the video recording process. | ` const Duration(seconds: 15) ` |
83
+ | theme | ` ThemeData ` | Theme data for the picker. | ` CameraPicker.themeData(C.themeColor) ` |
84
+ | textDelegate | ` CameraPickerTextDelegate ` | Text delegate that controls text in widgets. | ` DefaultCameraPickerTextDelegate ` |
85
+ | resolutionPreset | ` ResolutionPreset ` | Present resolution for the camera. | ` ResolutionPreset.max ` |
86
+ | cameraQuarterTurns | ` int ` | The number of clockwise quarter turns the camera view should be rotated. | ` 0 ` |
87
+ | foregroundBuilder | ` Widget Function(CameraValue) ` | The foreground widget builder which will cover the whole camera preview. | null |
86
88
87
89
### Simple usage
88
90
0 commit comments