QRCaptureController class

扫码及获取相册的控制类 Scan code and access to the album control class

Constructors

QRCaptureController()
构造函数

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
torchMode CaptureTorchMode
控制相机开关回调函数 PhoneTorch ON or OFF
no getter

Methods

dispose() → void
停止扫码 Stop scanning code from camera
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCapture(CaptureCallback capture) → void
获取数据的回调函数 The callback function that gets the data from camera
pause() → void
暂停扫码 resume scanning code from camera
resume() → void
当调用pause后,恢复扫码 resume scanning code from camera after pause
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getQrCodeByImagePath(String path) Future<List<String>>
从相机获取二维码并返回扫码信息 Get the qrcode data from photo album