Developers have been experimenting with Apple's VisionOS SDK and its possibilities since its launch a few days ago, and likewise, I had a chance to see some people run the Flutter counter example app on VisionPro.
In order for your Flutter app to support VisionOS, here are some basic steps you can take:
prerequisites
You need to download and install XCode Beta 2 supported by VisionOS
The main steps
Create a new Flutter app using the flutter create command, as you would normally do
Open the Runner.xcodeproj file in the XCode Beta 2 you just downloaded.
Click on Target Runner inside the file explorer in Xcode
Although you will see Apple Vision appear in the destinations here,
You will not see the VisionPro simulator in the list of simulators: