FlutterHmsScanKit class

Constructors

FlutterHmsScanKit()

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 Properties

isClick bool
getter/setter pair
platformVersion Future<String?>
no setter
scan Future<ScanResult?>
扫码
no setter

Static Methods

generateCode({String content = "", ScanTypeFormat type = ScanTypeFormat.QRCODE_SCAN_TYPE, int width = 500, int height = 500, String color = "#000000", bool isToastDebug = false}) Future<List<int>?>
生产条码
startScan({bool isContinuousClick = true, bool isToastDebug = false}) Future<ScanResult?>
扫码 isContinuousClick 是否连续点击 true-是 isToastDebug 是否toast 用于测试 true-是