setStatusProvider method
Sets a BarcodeCountStatusProvider for this view. This provider will be queried when the “status mode” button is clicked.
The Barcode Count status mode API is still in beta and may change in future versions of Scandit Data Capture SDK.
Added in version 7.0.0
Implementation
Future<void> setStatusProvider(BarcodeCountStatusProvider provider) {
_statusProvider = provider;
return _controller?.addBarcodeCountStatusProvider() ?? Future.value();
}