RBarcode class
二维码扫描插件
Email
rhymelph@gmail.com
Github
http://github.com/rhymelph
该类为所有相机的主要插件方法 用于与原生进行通信
Constructors
- RBarcode()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
availableBarcodeCameras(
) → Future< List< RBarcodeCameraDescription> ?> - 获取所有可用的相机
-
initBarcodeEngine(
{List< RBarcodeFormat> formats = RBarcodeFormat.kAll, bool? isDebug, bool isReturnImage = false}) → Future<void> -
初始化二维码引擎
formats
支持的那些格式的二维码isDebug
是否为debug模式isReturnImage
是否需要返回扫描成功后的图片