I have followed this tutorial step by step https://www.youtube.com/watch?v=K_kBzJN8pAY and I am 100% sure that I did everything correctly but unfortunately I am getting this error:
PS C:\MyApps\firstapp> flutter packages pub global run webdev serve webdev could not run for this project. You must have a dependency on
build_runner
inpubspec.yaml
.pubspec.yaml dev_dependencies: build_runner: >=1.6.2 <2.0.0 You must have a dependency on
build_web_compilers
inpubspec.yaml
.pubspec.yaml dev_dependencies: build_web_compilers: >=1.2.0 <3.0.0 You have a dependency on
cupertino_icons
which is not supported forflutter_web tech preview. See https://flutter.dev/web for more details. You have a dependency on
flutter
which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details. You have a dependency onflutter_test
which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details. pub finished with exit code 78