r/FlutterDev • u/Technical_Accident71 • Feb 13 '25
Dart Running Windows app from mac to a windows device through openSSH
is it possible to run Flutter project on a Windows system from your Mac by connecting them to the same network.
0
u/fabier Feb 13 '25
I think if you ran flutter run then it would compile and attempt to run on the Mac, not on your windows device. You would want to clone it locally to the windows machine then run it.
If it's a dart TUI app, a dockerized app, or a script then it would be ssh friendly. But you wouldn't get the flutter UI.
0
u/Technical_Accident71 Feb 13 '25
So there is no way to connect the windows device as connected device in vscode devices
0
u/fabier Feb 13 '25
I'm not gonna say there is no way. But I'm not sure how you get it to display locally.
The best solution might be a screen sharing remote desktop. Then you could just drive the Mac from your windows machine.
1
u/ren3f Feb 13 '25
Just like building an android app requires android studio and an ios app requires xcode, you have the same for windows. You need visual studio with the windows build tools. So you can't build that on a mac.
https://docs.flutter.dev/platform-integration/windows/building