Zoom Switch Control
Defined in library scandit_datacapture_core_ui
- ZoomSwitchControl
class ZoomSwitchControl : Control
Added in version 6.10.0
Control that allows to switch between two camera zoom levels defined by CameraSettings.zoomFactor and CameraSettings.zoomGestureZoomFactor.
You can add this control to a view by calling DataCaptureView.addControl().
- zoomedOutImage
Image? get zoomedOutImage
Added in version 6.10.0
The button image displayed when the zoom level is set to 1x.
- zoomedOutPressedImage
Image? get zoomedOutPressedImage
Added in version 6.10.0
The button image displayed when the zoom level is set to 1x and the button is pressed.
- zoomedInImage
Image? get zoomedInImage
Added in version 6.10.0
The button image displayed when the zoom level is set to 2x.
- zoomedInPressedImage
Image? get zoomedInPressedImage
Added in version 6.10.0
The button image displayed when the zoom level is set to 2x and pressed.
- setZoomedOutImage(image)
Future<
void
> setZoomedOutImage(Image? image)Added in version 6.10.0
The button image resource displayed when the zoom level is set to 1x.
- setZoomedOutPressedImage(image)
Future<
void
> setZoomedOutPressedImage(Image? image)Added in version 6.10.0
The button image resource displayed when the zoom level is set to 1x and the button is pressed.