mtrust_barcode_kit library
Classes
- BarcodeKit
- The main class of the plugin.
- BarcodeKitFlutterApi
- BarcodeKitHostApi
- BarcodeKitUiBuilder
- A builder that is used to build the UI for the barcode kit
- BarcodeKitView
- A utility widget that handles most functionality needed to scan barcodes
- CameraOpenResponse
- CornerPoint
- DetectedBarcode
- MaskPainter
- Overlay painter is used to draw a rectangle on the camera view and shade the rest of the view
- PerspectiveBarcode
- A widget that applies a perspective transformation to its child based on a DetectedBarcode.
- PerspectiveTransform
- A representation of a perspective transformation, that can be applied to single points. Common linear transformation operations (such as inversion and comCornerPoint) are also supported.
Functions
-
defaultBarcodeOverlayBuilder(
BuildContext context, DetectedBarcode barcode) → Widget - The default overlay builder that is used to draw a rectangle on the barcode
Typedefs
- OnBarcodeScannedCallback = void Function(DetectedBarcode barcode)
- Callback for when a barcode is scanned.
- OnTextDetectedCallback = void Function(String text)
- Callback for when a text is detected.