Makers Of Android May 18 News Prior to the Microsoft Build 2020 developer event, Microsoft has released a guide to using Google ’s large cross-platform Flutter SDK to develop applications for Surface Duo.
No matter how the appearance changes, the Surface Duo is a foldable Android phone, so it needs to run Android applications, developers may want to enhance it for better use on the Surface Duo. To help ensure that more applications are prepared before the release of Surface Duo, Microsoft has released the Surface Duo SDK to Android developers in January.
Join Us On Telegram Channel
However, by 2020, in addition to Java and Kotlin native, there are many other ways to write Android applications, especially thanks to cross-platform frameworks such as React Native, and of course Google’s Flutter SDK. To this end, Microsoft has been publishing guidelines on making developers of various frameworks join the Surface Duo SDK, including new guidelines for Flutter developers.
This guide will guide you through the necessary steps to add the Surface Duo SDK to the Flutter app to understand the hinge location and whether the app is distributed on two screens. This process involves establishing a “platform channel” that acts as a bridge between the native library and the Flutter code.
From there, you can decide how to use this information to make the Flutter application better on the Surface Duo. For example, you may want to display different UIs on the entire screen, or you may react to changes in hinge position.
Makers Of Andriod was informed that Google Dart and Flutter product manager Tim Sneath also shared his enthusiasm for Google and Microsoft to handle folding products, especially Surface Duo.
“We built Flutter as a portable toolkit that provides a beautiful experience wherever you want to draw pixels on the screen (whether it’s a phone, tablet, smart display, desktop, or now foldable device). With the help of Flutter, which supports dual screens with just a few lines of code, and is very happy to cooperate with Microsoft for a demonstration. There are more! ”