Flutter 2022 product roadmap release

Time:2022-5-28

In order to improve the transparency of the product, at the beginning of each year, the flutter team will release this year’s product roadmap to help the teams and developers using flutter make plans according to these priorities.

In 2022, the flutter team will focus on product development and improvement by focusing on the following areas and directions, including developer experience, desktop, web, framework and engine, dart programming language and Caton. It plans to stop supporting 32-bit IOS devices this year and increase investment in software supply chain security to reach SLSA level 4 (users can be highly confident that the software has not been tampered with).

Focus on

Developer experience

As a developer oriented tool, we are most concerned about the developer experience. Our goal is to create an SDK that developers love, which will be reflected in many aspects. It includes creating widgets to implement common business scenarios, clarifying existing APIs and introducing new APIs to implement common design patterns in a more convenient way, improving error message prompts, improving developer tools and IDE plug-ins, creating new lint rules, fixing bugs in frameworks and engines, improving API documentation, and creating more useful sample code, And implementing hot reload on the web and improving the stack trace of dart to JS scenarios.

Desktop side

In 2022, we plan to promote the desktop support of flutter to a stable version. We will focus on testing and release the platform after it becomes available – first windows, then Linux, then MacOS. An important part of this work is to expand the regression test suite so that we have full confidence to bring flutter to the desktop platform without breaking existing code.

Web side

In 2022, we plan to improve the performance, plug-in quality, accessibility and multi browser consistency experience of the flutter web. At the same time, we also plan to make it easier for the flutter application to embed other pages.

Framework and engine

In order to improve the restore degree of the Android platform, we willUpdate material library to support material design 3. In order to improve the restoring degree of the web platform, we plan to implement cross component text selection. These updates are not limited to a certain platform.

We plan to improve the text editing experience on different platforms, such as improving the restore degree of desktop text editing protocol and the integration of gesture recognition on ipados.

For the desktop and web side, we will provide solutions for menus (including context menus and menu bars), including operating system related integration (especially MacOS related).

Finally, we plan to try to support the feature of rendering to multiple windows based on a single isolate. This feature is inspired by the desktop platform, but its application can not be limited to the desktop platform.

Dart programming language

In 2022, we plan to slow down and develop the dart programming language feature at a stable speed. We expect to introduce a new feature to the dart programming language, which may be static metaprogramming. We will make decisions based on the improvement of the dart programming language by this feature. At the same time, we will improve the dart programming language, including the possible improvement of the syntax of package import.

We also plan to expand the compilation tool chain of dart programming language to support compilation to wasm, but this may depend on the support time of wasmgc specification.

lag

In 2021, we started to solve many problems about CatonBut the final conclusion is that we may need to completely rethink how to use shaders. That is why we have been rewriting the back end of graph rendering. In 2022, we plan to migrate the flutter on IOS to this new architecture, and then migrate this scheme to other platforms based on our experience in this field. In addition, we will implement other performance improvements and performance introspection features, such asNew displaylist systemFunctions implemented.

Planned obsolescence

We plan to give up support for 32-bit IOS devices in 2022. SeeRFC documents

Infrastructure construction

In 2022, we will increase our investment in supply chain security to meet the requirements described in infrastructure SLSA level 4.

In recent years, software supply chain security has become a frequently mentioned topic. Because of the complexity of software development, there may be many threats in the process of source code, construction and release. Some malicious people may threaten the security of the application supply chain by releasing the development tools after secondary packaging or some software packages with similar names, or adding malicious code to some dependent software packages.

SLSA (supply chain levels for software artifacts) is a security specification framework for software supply chain. Its purpose is to prevent software from being tampered with and improve integrity. Its internal version has been used by Google since 2013. Version V0.1 was publicly released in mid September 2021. It is jointly led by a committee composed of Intel, Linux foundation, VMware, Google, CNCF and other institutions. SLSA 1 is the most basic requirement level, SLSA 4 is the highest level requirement. For more information, please visit slsa Dev website.

I hope this 2022 product roadmap can better help you build the flutter application and make your business a higher level!

Original text of flutter product roadmap:https://github.com/flutter/flutter/wiki/Roadmap