英語で読む

次の方法で共有


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.

Surface Duo Emulator

Installation

If you don't already have the Surface Duo emulator, follow the installation instructions for the preview.

Test your app

To test your Flutter app on the Surface Duo emulator:

  1. Start the Surface Duo emulator:

    1. Windows: You can find it in the Start menu or the run command in the folder where it was installed.
    2. MacOS / Linux: run the run.sh command in the folder where it was installed.
  2. Run your Flutter project as you normally would (running flutter doctor should detect the running emulator)