feedback property

BarcodeCountFeedback get feedback

Instance of BarcodeCountFeedback that is used by the barcode scanner to notify users about Success and Failure events.

The default instance of the Feedback will have both sound and vibration enabled. A default beep sound will be used for the sound.

Added in version 6.17.0

Implementation

BarcodeCountFeedback get feedback => _feedback;
set feedback (BarcodeCountFeedback newValue)

Instance of BarcodeCountFeedback that is used by the barcode scanner to notify users about Success and Failure events.

The default instance of the Feedback will have both sound and vibration enabled. A default beep sound will be used for the sound.

Added in version 6.17.0

Implementation

set feedback(BarcodeCountFeedback newValue) {
  if (_feedback == newValue) {
    return;
  }
  _removeFeedbackListener();
  _feedback = newValue;
  _addFeedbackListener();
  _controller?.updateFeedback();
}