From 36577c007da62831e64115fae227e0a81768e98c Mon Sep 17 00:00:00 2001 From: Akshay Kalbhor Date: Wed, 17 Nov 2021 15:03:07 +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}) =>