FlutterBarcodeSdkWeb class
A web implementation of the FlutterBarcodeSdk plugin.
This class acts as the web interface for barcode scanning, providing barcode decoding capabilities using the BarcodeManager.
Constructors
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
-
decodeFile(
String file) → Future< List< Map> > - Decodes barcodes from an image file.
-
decodeImageBuffer(
Uint8List bytes, int width, int height, int stride, int format) → Future< List< Map> > - Decodes barcodes from an image buffer.
-
getParameters(
) → Future< String> - Retrieves the current barcode detection settings as a JSON string.
-
handleMethodCall(
MethodCall call) → Future -
initBarcodeSDK(
) → Future< int> - Initializes the barcode SDK.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBarcodeFormats(
int formats) → Future< int> - Sets the barcode formats to be detected.
-
setLicense(
String license) → Future< int> - Sets the license key for the barcode SDK.
-
setParameters(
String params) → Future< int> - Updates the barcode detection parameters.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void