MyCameraController class

Controller for a single GoogleMap instance running on the host platform.

Properties

cameraaccessdenied String
final
channel MethodChannel
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

captureImage({int maxSize}) Future<void>
generateBarCode(String code) Future<Uint8List>
Generating Bar Code Uint8List
getFlashType() Future<List<FlashType>>
getPictureSizes() Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
scan() Future<String>
scanBytes(Uint8List uint8list) Future<String>
scanPath(String path) Future<String>
scanPhoto() Future<String>
Scanning Photo Bar Code or QR Code return content
setFlashType(FlashType flashType) Future<void>
setPictureSize(int width, int height) Future<void>
setPreviewRatio(CameraPreviewRatio cameraPreviewRatio) Future<void>
setSavePath(String savePath) Future<void>
setSessionPreset(dynamic cameraSessionPreset) Future<void>
switchCamera() Future<void>
toString() String
A string representation of this object.
inherited
turnOffCamera() Future<void>

Operators

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

Static Methods

init(int id, _MyCameraState myCameraState) Future<MyCameraController>