barcode_reader_webassembly 0.0.5
barcode_reader_webassembly: ^0.0.5 copied to clipboard
A flutter web plugin to read barcode using webassembly and zbar.
barcode_reader_webassembly #
This project is a wrapper for the project Barcode Read - Ts and Webassembly. .
Getting Started #
You have to use two methods to read a barcode.
Method | Description |
---|---|
readBarcodeFromStack | This method receives a ReadBarcodeProps and inserts the request on the stack of requests. This can be utils when you make multiple barcodes reads at the same. |
readBarcode | This method receives a ReadBarcodeProps and makes a simple read. |
About ReadBarcodeProps:
Prop | Type | Description |
---|---|---|
top | boolean | Define the priority to open the menu on top of the trigger. |
left | boolean | Define the priority to open the menu on left of the trigger. |
right | boolean | Define the priority to open the menu on right of the trigger. |
child | Widget | Trigger widget (like ElevatedButton, Text and etc...). |
items | List> | Menu options. |