CameraSettings constructor
CameraSettings(
- VideoResolution preferredResolution,
- double zoomFactor,
- FocusRange focusRange,
- FocusGestureStrategy focusGestureStrategy,
- double zoomGestureZoomFactor, {
- required bool shouldPreferSmoothAutoFocus,
- Map<
String, dynamic> properties = const <String, dynamic>{},
Implementation
CameraSettings(
this.preferredResolution, this.zoomFactor, this.focusRange, this.focusGestureStrategy, this.zoomGestureZoomFactor,
{required this.shouldPreferSmoothAutoFocus, Map<String, dynamic> properties = const <String, dynamic>{}}) {
for (var hiddenProperty in properties.entries) {
setProperty(hiddenProperty.key, hiddenProperty.value);
}
}