Use the Surface Duo emulator with Flutter
Using the Surface Duo Emulator enables you to test your Flutter app on a dual-screen device with a visible hinge area. Test your app in single screen and spanned mode and see how it transitions between the two.
If you don't already have the Surface Duo emulator, follow the installation instructions for the preview.
To test your Flutter app on the Surface Duo emulator:
Start the Surface Duo emulator:
- Windows: You can find it in the Start menu or the run command in the folder where it was installed.
- MacOS / Linux: run the
run.sh
command in the folder where it was installed.
Run your Flutter project as you normally would (running
flutter doctor
should detect the running emulator)