mohesu / barcode_scanner

A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
Apache License 2.0
41 stars 31 forks source link

add a flag in the widget to block or allow haptic feedback #87

Closed ChristopherLinnett closed 9 months ago

ChristopherLinnett commented 9 months ago

A very simple Change,It just allows the user to decide whether they want haptic feedback upon scanning. It then throws this condition in front of the Haptic feedback function calls.

Still defaults to true if no value given so will not affect current users.