This repo is deprecated; please use the new mono repo https://github.com/woodemi/quick.flutter
A flutter plugin for scanning QR codes, as quick as adding a Widget
CAUTION: Check permission by yourself
Widget build(BuildContext context) {
return ScanView(
callback: (String result) {
print('scanResult $result');
},
);
}
Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist
file with the key io.flutter.embedded_views_preview
and the value YES
.