Can anyone help me I don't know what happened I was just pubUpgrade and it become like this
I've tried flutter clean and tried to delete dart:js line in js.dart but still not work thanks for your help if someone could help me I'll be grateful.
Can anyone help me I don't know what happened I was just pubUpgrade and it become like this
I've tried flutter clean and tried to delete dart:js line in js.dart but still not work thanks for your help if someone could help me I'll be grateful.
Method 1:- Try to remove imports of 'dart:js_interop' as it may be imported by default in many of your project files.
Method 2:- NOTE that this import are certainly due to usage of StreamBuilder in your app , so try to use any alternative widgets to do the same work inorder to solve your problem if NOT solved by first method. .
This error may be related to the emulator you are using, you can try to run your application in the web version, if it works, I recommend you check your emulator.
For me it was NSZombieEnabled
in the Environment Variable under iOS/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
which was disabled
<EnvironmentVariables>
<EnvironmentVariable
key = "NSZombieEnabled"
value = "YES" //<-- Change from "NO" to "YES"
isEnabled = "YES"> //<-- Change from "NO" to "YES"
</EnvironmentVariable>
</EnvironmentVariables>
© 2022 - 2024 — McMap. All rights reserved.