Fix Windows scanner format selection
Fixes the Windows WebView scanner path so barcode mode is not limited by the HTML scanner defaults.\n\nChanges:\n- pass scanType, cameraFace, custom app bar, and close callback into WindowBarcodeScanner\n- load the Windows barcode asset with scanType/cameraFace query params\n- configure html5-qrcode with explicit QR/barcode format groups and requested camera facing mode\n- guard the Windows webview bridge checks before posting/listening\n\nValidation:\n- flutter test passes\n- flutter analyze still reports only existing info-level lints in untouched files: example use_super_parameters/avoid_print, barcode_controller avoid_print, web.dart missing type annotation, and library name info\n\nI could not live-test a Windows camera device from this environment.
Pushed a small follow-up commit (dbe2146) to reduce the new Sonar code-smell noise in lib/assets/barcode.html: replaced scanner-page window references with globalThis and changed scanner startup from a promise chain to async/await without changing the scan flow.
Validation:
flutter testpassedgit diff --checkpassedflutter analyzestill reports only existing info-level lints in untouched files (example/lib/main.dart,lib/screens/barcode_controller.dart,lib/screens/web.dart,lib/simple_barcode_scanner.dart)
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Follow-up status after 32729ef:
- SonarCloud passed again
- SonarCloud issue API now reports
0open new-code issues for PR #134 flutter testandgit diff --checkstill pass