An experiment on using Flutter across multiple platforms with a websocket echo server propagating the messages across all connect clients (platforms).
You will need to use a separate project running a very basic nodejs websocket server, which you can find here: https://github.com/Morthor/node_basic_websocket.
flutter pub get
flutter run -d android
flutter run -d ios
flutter config --enable-web
flutter create .
flutter run -d web
flutter config --enable-windows-desktop
flutter create .
flutter run -d windows
flutter config --enable-linux-desktop
flutter create .
flutter run -d linux
flutter config --enable-macos-desktop
flutter create .
flutter run -d macos
You can also run the app on the different platforms through the interface of Android Studio or Visual Studio Code.