ai_barcode
ai_barcode copied to clipboard
Height/Width of Platform View type: [webcamVideoElement[#0723a]] may not be set. Defaulting to `width: 100%`.
Height of Platform View type: [webcamVideoElement[#0723a]] may not be set. Defaulting to height: 100%
.
Set style.height
to any appropriate value to stop this message.
Width of Platform View type: [webcamVideoElement[#0723a]] may not be set. Defaulting to width: 100%
.
Set style.width
to any appropriate value to stop this message.
Putting it in a SizedBox does not help.
Getting the same warning in web, any idea where to set height and width? Putting the relevant widget in a Container and setting size doesn't help either...
I think, you have a different problem: QR code scanner can't give result in web app from package ai_barcode-3.2.1. Am I right?
If you want to fix this problem - you should uncomment 71-74 rows in source ai_barcode-3.2.1/src/ai_barcode_widget.dart Then it will work perfectly!
thank you for your reply, will definitely have a try!