CameraKitController class

This controller is used to control CameraKiView.dart

Constructors

CameraKitController()

Properties

cameraKitView CameraKitView
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changeFlashMode(CameraFlashMode captureFlashMode) → dynamic
Change flash mode between auto, on and off
closeCamera() → dynamic
Closing camera and dispose all resource
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseCamera() → dynamic
pause camera while stop camera preview. Plugin manage automatically pause camera based android, iOS lifecycle and widget visibility
processImage(String path) Future<String?>
resumeCamera() → dynamic
resume camera while resume camera preview. Plugin manage automatically resume camera based android, iOS lifecycle and widget visibility
setView(CameraKitView cameraKitView) → void
Connect view to this controller
takePicture({String path = ""}) Future<String?>
Use this method for taking picture in take picture mode This method return path of image
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited