https://github.com/microsoft/surface-duo-sdk-samples-flutter
flutter samples for Surface Duo
https://github.com/microsoft/surface-duo-sdk-samples-flutter
android flutter surface-duo
Last synced: 6 months ago
JSON representation
flutter samples for Surface Duo
- Host: GitHub
- URL: https://github.com/microsoft/surface-duo-sdk-samples-flutter
- Owner: microsoft
- License: mit
- Created: 2020-04-16T21:42:12.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T10:26:40.000Z (over 2 years ago)
- Last Synced: 2024-12-04T17:49:14.173Z (6 months ago)
- Topics: android, flutter, surface-duo
- Language: Dart
- Homepage: http://learn.microsoft.com/dual-screen/flutter/
- Size: 28.9 MB
- Stars: 55
- Watchers: 14
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
---
page_type: sample
name: Surface Duo - Flutter samples
languages:
- dart
products:
- surface-duo
description: "Samples showing how to use Flutter for building apps for the Surface Duo."
urlFragment: all
---
# Surface Duo Flutter samplesThis repo contains Flutter samples with enhancements for the Microsoft Surface Duo.
The [design_patterns](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/) project shows how to build the [dual-screen design patterns](https://docs.microsoft.com/en-us/dual-screen/introduction#dual-screen-app-patterns). It is one single application that allows navigating through the following screens:
| Pattern | Folder | Dual-screen screenshot| Single screen screenshot|
| :---------: | :---------: | ----------- | ----------- |
| 
Extended Canvas | [extended_canvas](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/extended_canvas) |  |  |
| 
List Detail | [list_detail](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/list_detail) |  |  |
| 
Two Page | [two_page](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/two_page) |  |  |
| 
Dual View
Notepad | [dual_view_notepad](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/dual_view_notepad) |  |  |
| 
Dual View
Restaurants | [dual_view_restaurants](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/dual_view_restaurants) |  |  |
| 
Companion Pane | [companion_pane](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/companion_pane) |  |  |The [hinge_angle](https://github.com/microsoft/surface-duo-sdk-samples-flutter/tree/master/design_patterns/lib/hinge_angle) project shows how to use the hinge angle data provided by the [dual_screen](https://pub.dev/packages/dual_screen) flutter package.
More information, including design resources can be found in the [dual-screen docs](https://docs.microsoft.com/dual-screen/). All the screenshots are generated using the [Surface Duo emulator](https://docs.microsoft.com/dual-screen/android/emulator/).
## 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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.