Microsoft is Adding Support for Foldables to Flutter

Last year, Flutter lead Tim Sneath publicly reached out to Microsoft in an effort to get its support for Google’s cross-platform developer framework. And this week, as part of the Flutter 2 announcement, we learned that Microsoft has embraced Flutter and will soon offer its first contribution, for foldable devices.

“Flutter is one of the fastest-growing frameworks today and certainly a powerful toolkit for building amazing apps, which is why we’re adding foldable support,” Microsoft’s Andrei Diaconu explains. “We love Flutter and foldable devices and want developers to have the best possible experience when working with both.”

Based on Microsoft’s description, it appears that its support for foldable devices includes both true foldables, like the Samsung Galaxy Z Fold, as well as devices with two displays and a hinge, like Surface Duo. It includes functionality related to how and where dialogs will appear—avoiding a hinge or cutout is obviously key here—and adaptive layouts that can span two displays or a single display that is unfolded to offer more room.

“Microsoft is not stopping here,” Diaconu says. “Building amazing apps for foldable devices using Flutter should be easy and fun and our next areas of focus will be navigation, codelabs, and more components to help developers.” I’m hoping that Microsoft’s support of Flutter doesn’t stop with the Surface team, either. Hopefully, this work will inspire other groups at Microsoft to take a look at Flutter too.

Microsoft’s contribution to Flutter isn’t live in the framework yet, Diaconu says: It’s looking for feedback first so it can make sure it’s meeting the needs of the community. But the “goal is to empower you to easily build amazing experiences for all foldables.”

Tagged with

Share post

Conversation 4 comments

  • martinusv2

    Premium Member
    04 March, 2021 - 2:01 pm

    <p>I have the feeling that Microsoft prefers other frameworks than their own. I hope for the sake of Xamarin devs that MAUI will be as good as Flutter, if not better. </p>

    • eric_rasmussen

      Premium Member
      04 March, 2021 - 2:44 pm

      <blockquote><em><a href="#616539">In reply to MartinusV2:</a></em></blockquote><p>Xamarin has so few people actively working on it compared to the number of people Google employs to work on Flutter, I wouldn't hold my breath. I love Xamarin but Microsoft seems disinterested in investing too much into it.</p>

  • illuminated

    05 March, 2021 - 4:57 pm

    <p>MS's' inability to build their own cross-platform UI framework is mind boggling. </p>

    • rmac

      06 March, 2021 - 9:20 am

      <p><a href="#616755"><em>In reply to illuminated:</em></a><em> I think what you say is very true. </em>I've been saying for a long time XAML should leave behind the full Windows object graph and instead embrace and extend purely UI elements, starting with HTML and SVG. Maybe it needs to stem from SGML, but whatever it takes to create a lean, mean and extensible cross platform markup or language equivalent.</p>

Newsletter

Stay up to date with the latest tech news from Thurrott.com!

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2023 BWW Media Group