Best android open-source packages and libraries.

Surface duo sdk samples flutter

Flutter samples for Surface Duo
Updated 4 months ago

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 samples

This repo contains Flutter samples with enhancements for the Microsoft Surface Duo.

The design_patterns project shows how to build the dual-screen design patterns. It is one single application that allows navigating through the following screens:

Pattern Folder Dual-screen screenshot Single screen screenshot
Extended Canvas design pattern
Extended Canvas
extended_canvas Flutter Extended Canvas sample in dual-screen mode Flutter Extended Canvas sample in single screen mode
List Detail design pattern
List Detail
list_detail Flutter List Detail sample in dual-screen mode Flutter List Detail sample in single screen mode
Two Page design pattern
Two Page
two_page Flutter Two Page sample in dual-screen mode Flutter Two Page sample in single screen mode
Dual View design pattern
Dual View
Notepad
dual_view_notepad Flutter Dual View Notepad sample in dual-screen mode Flutter Dual View Notepad sample in single screen mode
Dual View design pattern
Dual View
Restaurants
dual_view_restaurants Flutter Dual View Restaurants sample in dual-screen mode Flutter Dual View Restaurants sample in single screen mode
Companion Pane design pattern
Companion Pane
companion_pane Flutter Companion Pane sample in dual-screen mode Flutter Companion Pane sample in single screen mode

The hinge_angle project shows how to use the hinge angle data provided by the dual_screen flutter package.

More information, including design resources can be found in the dual-screen docs. All the screenshots are generated using the Surface Duo 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. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Tags samples