QrcodeFlutterWeb class
A web implementation of the QrcodeFlutterPlatform of the QrcodeFlutter plugin.
- Inheritance
-
- Object
- PlatformInterface
- QrcodeFlutterPlatform
- QrcodeFlutterWeb
Constructors
- QrcodeFlutterWeb()
- Constructs a QrcodeFlutterWeb
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 getteroverride
Methods
-
buildWidget(
) → Widget -
Build camera widget
override
-
dispose(
) → void -
停止扫码
Stop scanning code from camera
override
-
getQrCodeByImagePath(
String path) → Future< List< String> > -
从相机获取二维码并返回扫码信息
Get the qrcode data from photo album
override
-
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
override
-
pause(
) → void -
暂停扫码
resume scanning code from camera
override
-
resume(
) → void -
当调用pause后,恢复扫码
resume scanning code from camera after pause
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void