flutter-package / flutter_scan

scanner qrcode in widget tree & decoder qrcode from image
MIT License
80 stars 61 forks source link

How to simulate onCapture: #29

Closed JP3871 closed 2 years ago

JP3871 commented 2 years ago

Environment

Flutter version: 2.5.3 Plugin version: 1.5.0
Android version: 11
iOS version: Xcode version:
Device information: Mi Lite 10

Description

Hi,

How can I simulate a value "onCapture:" with Visual Studio Code ? --> For example, I want to init data with '011747615105' and then call MaterialPageRoute For testing, I have to build apk....

Thanks for your response

              child: ScanView(
                  controller: controller,
                  scanAreaScale: .7,
                  scanLineColor: Colors.green,
                  onCapture: (data) {