flutter run -d web code example
Example 1: flutter build for web
flutter build web
Example 2: flutter web
flutter channel beta
flutter upgrade
flutter config --enable-web
Example 3: running the build/web flutter
webdev serve
flutter build web
flutter channel beta
flutter upgrade
flutter config --enable-web
webdev serve