flutter samples for Surface Duo
Перейти к файлу
Andrei Diaconu 6de6c39356 Change the order of the samples to match design documentation 2021-11-11 14:29:55 +02:00
Screenshots update readme files, add screenshot (#3) 2021-01-06 10:29:06 -08:00
design_patterns Change the order of the samples to match design documentation 2021-11-11 14:29:55 +02:00
.gitignore Initial commit with Two Page sample 2021-05-12 22:13:10 +03:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-04-16 14:42:17 -07:00
LICENSE Initial LICENSE commit 2020-04-16 14:42:18 -07:00
README.md Initial commit with Two Page sample 2021-05-12 22:13:10 +03:00
SECURITY.md Initial SECURITY.md commit 2020-04-16 14:42:21 -07:00

README.md

page_type name languages products description urlFragment
sample Surface Duo - Flutter SDK samples
java
surface-duo
Samples showing how to use the Surface Duo with for Flutter for Android app development. all

Surface Duo Flutter samples

This repo contains Flutter samples that incorporate dual-screen enhancements for the Microsoft Surface Duo.

The starter_sample shows how to incorporate the Surface Duo SDK into Flutter so the device info is available in Dart. The lightup_sample shows how to use the device info to create a layout that adapts to the dual-screen Surface Duo:

Flutter sample with a dual-screen layout

Refer the to dual-screen docs for more information and the Surface Duo emulator download.

Adding dual-screen support to an existing app

In addition to the samples in this repo, the Adding Surface Duo support to the Flokk application blog post is a good reference for adding dual-screen support.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.