You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Problem Analysis]
I have encountered this problem as well when running the project in a web environment. After inspecting the source code, I found the following issues:
The library “ai_barcode” is referencing another library called “ai_barcode_web”.
However, “ai_barcode_web” hasn’t been updated for a while and is incompatible with the method calls of the “qr” library it depends on.
Eventually, I realized that “ai_barcode” doesn’t actually need to reference “ai_barcode_web”. Therefore, I forked the source code and removed the problematic “ai_barcode_web” library.
[Final Solution]
To resolve this, you can comment out the original “ai_barcode” in the dependency file “pubspec.yaml” and add my forked library instead.
The text was updated successfully, but these errors were encountered: