QrcodeFlutterPlatform class abstract
定义插件抽象
- Inheritance
-
- Object
- PlatformInterface
- QrcodeFlutterPlatform
- Implementers
Constructors
- QrcodeFlutterPlatform()
- Constructs a QrcodeFlutterPlatform.
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
-
buildWidget(
) → Widget - Build camera widget
-
dispose(
) → void - 停止扫码 Stop scanning code from camera
-
getQrCodeByImagePath(
String path) → Future< List< String> > - 从相机获取二维码并返回扫码信息 Get the qrcode data from photo album
-
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 Properties
- instance ↔ QrcodeFlutterPlatform
-
The default instance of QrcodeFlutterPlatform to use.
getter/setter pair