fluttervisionsdkplugin 0.0.5 fluttervisionsdkplugin: ^0.0.5 copied to clipboard
A Flutter plugin package for integrating the Flutter Vision SDK into your Flutter application for scanning Barcodes and QrCodes
Flutter Vision SDK Plugin #
A Flutter plugin package for seamless integration of the Flutter Vision SDK into your Flutter applications. This package provides features for scanning barcodes, QR codes, and text, along with OCR (Optical Character Recognition) support. Customize scan and capture modes to meet your specific needs.
Features #
Scan barcodes, QR codes, and text. Optical Character Recognition (OCR) support. Flexible customization of scan and capture modes.
Getting started #
import the package and use it in your app.
import 'package:fluttervisionsdkplugin/fluttervisionsdkplugin.dart';
Usage #
Here's an example of how to use the NativeViewWidget in your Flutter application:
NativeViewWidget(
onScanError: _onScanError,
onCodesReceived: _onCodesReceived,
onDetectionResult: _onDetectionResult,
onOCRImagesReceived: _onOCRImagesReceived,
shouldDisplayFocusImage: true,
shouldScanInFocusImageRect: true,
onDetected: onDetected,
isTextIndicationOn: true,
isBarCodeOrQRCodeIndicationOn: true,
selectionTintColor: 'white',
imageTintColor: 'white',
codeDetectionConfidence: 0.5,
sessionPreset: 'high',
nthFrameToProcess: 10,
captureMode: 0,
captureType: 0,
scanMode: 0,
focusImage: '',
focusImageRect: const {
'x': 0,
'y': 0,
'height': 0,
'width': 0,
}),
Additional information #
Users can import this package and integrate it into their Flutter projects to enable barcode and QR code scanning with customizable modes. This package provides a simple and efficient way to leverage the power of the Flutter Vision SDK in your applications.