scanner_core library

Classes

BarcodeResult
Detailed result structure for individual detected barcodes in multi-barcode scanning mode.
DocumentQualityScore
Document image quality metrics calculated during isolate preprocessing.
IsolateFrameProcessor
Multithreaded background isolate worker for processing camera image frames, performing sub-region ROI cropping, image enhancement, blur/motion detection, static frame skipping, and calculating frame luminosity without UI stutter.
IsolateFrameResult
Structured response output returned from isolate frame processing.
IsolateFrameTaskData
Data structure carrying frame processing arguments into isolate task.
ResultBottomSheet
A bottom sheet modal widget displaying parsed scan fields and live REST API metadata.
ScanHistoryController
Dedicated controller for managing, filtering, and exporting scan result history.
ScannerCameraPreview
A lightweight, unopinionated camera preview widget for ScannerController. Renders ONLY the camera feed (or a custom placeholder) with tap-to-focus and pinch-to-zoom support.
ScannerController
Standalone controller managing hardware camera lifecycle, frame throttling, adaptive frame processing, background isolate execution, ROI cropping, performance metrics telemetry, scan history, auto-zoom, and low-light controls.
ScannerOptions
Dynamic Region of Interest (ROI) scanning window rectangle. Configuration options controlling camera detection rate, ROI bounds, duplicate caching, auto-zoom, image enhancement, isolate multi-threading, and enterprise scanning parameters.
ScannerOverlayPainter
Custom painter for camera viewfinder cutout, reticle corners, tap-to-focus ring, detection highlight flash, and animated laser beam.
ScannerPlugin
Abstract plugin contract enabling custom vision recognizers, OCR models, and AI parsers to be dynamically registered into UniversalScanEngine.
ScannerPluginRegistry
Central registry managing custom active scanner plugins.
ScannerUiTheme
Customizable theme and visual design configuration for Universal Scanner Pro.
ScanResult
Represents the extracted structured data resulting from a camera or image scan.
ScanWindow
Represents a normalized Region of Interest (ROI) scanning window rectangle. Values range from 0.0 to 1.0 relative to total camera frame dimensions.
UniversalScanEngine
Orchestrates ML Kit vision AI models via google_mlkit_commons and routes camera/image/bytes inputs to specialized document and payload parsers.
UniversalScannerView
Main camera viewfinder widget supporting mode switching, gallery picks, reticle overlays, and complete screen layout customization.

Enums

ScanMode
Supported scanning modes in Universal Scanner Pro.
ScannerFpsState
State representing camera frame processing activity level.
ScanStrategy
Operational strategy for handling scan results.

Extensions

ScanModeExtension on ScanMode
Extension methods for ScanMode providing UI metadata.
ScannerFpsStateExtension on ScannerFpsState

Typedefs

UniversalScannerBuilder = Widget Function(BuildContext context, ScannerController controller, Widget cameraPreview)
Builder signature for creating custom screen designs with UniversalScannerView.builder.