CameraSettings constructor

CameraSettings(
  1. VideoResolution preferredResolution,
  2. double zoomFactor,
  3. FocusRange focusRange,
  4. FocusGestureStrategy focusGestureStrategy,
  5. double zoomGestureZoomFactor, {
  6. required bool shouldPreferSmoothAutoFocus,
  7. 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);
  }
}