From 658933498b4c89defbdd064ba435b4898eaf1ca7 Mon Sep 17 00:00:00 2001 From: Akshay Kalbhor Date: Wed, 17 Nov 2021 16:41:36 +0530 Subject: [PATCH] Added scanInvert method in flutter_qr_web --- lib/src/web/flutter_qr_web.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/web/flutter_qr_web.dart b/lib/src/web/flutter_qr_web.dart index 1da3407..cb7751b 100644 --- a/lib/src/web/flutter_qr_web.dart +++ b/lib/src/web/flutter_qr_web.dart @@ -309,6 +309,12 @@ class QRViewControllerWeb implements QRViewController { // TODO: flash is simply not supported by JavaScipt return; } + + @override + Future scanInvert(bool isScanInvert) { + // TODO: implement scanInvert + throw UnimplementedError(); + } } Widget createWebQrView({onPlatformViewCreated, CameraFacing? cameraFacing}) =>