I have a problem whenever I try to run the flutter project on Android emulator it gives the following error:
compiler message: dart:html: Error: Not found: dart:html.
[ +39 ms] Compiler failed on C:\Users\u21p92\AndroidStudioProjects\bottom_nav\lib\main.dart
[ +31 ms] FAILURE: Build failed with an exception.
[ ] * Where:
[ ] Script ‘C:\flutter\packages\flutter_tools\gradle\flutter.gradle’ line: 435
[ ] * What went wrong:
[ ] Execution failed for task ‘:app:flutterBuildDebug’.
[ ] > Process ‘command ‘C:\flutter\bin\flutter.bat’’ finished with non-zero exit value 1
[ ] * Try:
[ ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[ ] * Get more help at https://help.gradle.org
[ ] BUILD FAILED in 4s
I couldn’t understand what the error is and how to resolve it. Please help me with this