Flutter 2.1 Has Stable Windows Support
Monday, 14 February 2022

Flutter 2.1 has been released with improvements including stable support for Windows, performance enhancements, new support for icons and colors in the framework, and some tooling improvements.

Flutter is Google's open source mobile UI framework for crafting  native interfaces on iOS and Android. It was created as a combination of Google's Dart programming language and a runtime environment that is referred to as an app engine in Flutter.

flutter

The headline change to this release is stable Windows support. In the previous version, developers had to set a flag to activate the features to produce Windows apps on the stable channel of Flutter, but this is no longer necessary. In addition to the default availability of Windows as a target, this release has improved text handling, keyboard handling, and keyboard shortcuts for Windows, along with better integration. The team say there's already an impressive number of Flutter packages and plugins already supporting Windows.

The Windows implementation of Flutter combines a Dart framework and C++ engine. Windows and Flutter communicate through an embedding layer that hosts the Flutter engine and is responsible for translating and dispatching Windows messages. Flutter coordinates with Windows to paint your UI to the screen, and handles events like window resizing and DPI changes.

flutter architecture

The performance improvements have been achieved by enabling partial repaints. So far this is only available for iOS/Metal, where it has reduced 90th and 99th percentile rasterization times on a few benchmarks by an order of magnitude, and reduced GPU utilization on these benchmarks from more than 90% to less than 10%. The team is planning to add partial repaints to other platforms in future releases.

Another area of performance improvements come from the internal picture recording format added in a previous release, and now being used for optimizations with impressive results. 

This release also sees the beginning of the transition to Material 3, which includes the ability to generate an entire color scheme from a single seed color. Material 3 is the next generation of Google's Material Design language that provides a system of guidelines, components, and tools that support the best practices of user interface design.

Flutter 2.1 is available now. 

flutter

More Information

Flutter Website

Related Articles

Flutter Improves Performance

Flutter 2.0 Increases Web Support

Flutter Adds Windows Support

Flutter Takes Off

Flutter 1.17 Released

LinkedIn Claims Flutter is Fastest Growing Skill For Software Engineers

All A Flutter - Google's Cross Platform App Framework Ready To Go

Google's Dart Reborn As Cross Platform App Language

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Rust 1.83 Improves Const Context Code Handling
12/12/2024

Rust 1.83 has been released with improvements to the handling of code running in const contexts.



Trees And Heaps For Xmas - A Programmer At Xmas
24/12/2024

Christmas is a time for tradition. Finding the Christmas lights in the dark recesses of a cupboard and hanging much-loved baubles on the Christmas Tree. Running this xkcd cartoon has become a part of& [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 14 February 2022 )