rmtmckenzie / flutter_qr_mobile_vision

QR reader plugin using mobile vision API for Flutter.
MIT License
217 stars 186 forks source link

Use the same camera device for the lamp as is showing on the screen. #225

Closed lovelessX closed 12 months ago

lovelessX commented 1 year ago

Use the existing capture device to use the lamp if it's not null. Also add a light button to the example.

Fixes https://github.com/rmtmckenzie/flutter_qr_mobile_vision/issues/222.

As an alternative, you may want to replicate the behavior of finding the initial camera as used in the constructor.