Install the flutter_web build tools vscode code example
Example 1: flutter web run using vscode
flutter packages pub global activate webdev
Example 2: flutter web run using vscode
flutter upgrade
flutter packages pub global activate webdev
flutter upgrade