Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Height/Width of Platform View type: [webcamVideoElement[#0723a]] may not be set. Defaulting to width: 100%. #50

Open
thunderstorm010 opened this issue Jan 5, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@thunderstorm010
Copy link

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.

@Flaminiat
Copy link

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...

@pdliuw pdliuw added the enhancement New feature or request label Jun 2, 2022
@energy6x6
Copy link

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!

@Flaminiat
Copy link

thank you for your reply, will definitely have a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants