当前位置:网站首页>Flutter2 heavy release supports web and desktop applications
Flutter2 heavy release supports web and desktop applications
2022-07-05 12:12:00 【CrazyCodeBoy】
Catalog
- Flutter 2 Release
- Flutter 2 Behind the
- Flutter 2 Yes Web Support for
- Flutter 2 Yes PC、 Foldable and embedded device support
- Developing Flutter The ecological system
- Air safety
Flutter 2 summary

Google officially announced Flutter 2 Release . As a tool for building cross platform APP Framework ,Flutter Today officially ushered in its second major version , Added to desktop and Web Application support . Developers can use Flutter2 Create out of the box APP, And be able to iOS、Android、Windows、macOS、Linux and Web Apply the same code to the end .
Google said , Developers use Flutter 2 The same code base can be used for 5 An operating system (iOS, Android, Windows, macOS and Linux) Publish native apps , And release for Chrome, Firefox, Safari and Edge Wait for the application of browser . Besides ,Flutter It can also be embedded in cars 、 In TVs and smart appliances .
The name Flutter2, Mainly due to its effect on Web And desktop application support . This is a fulcrum that can be quite far-reaching , I believe that one day not far away Flutter Will unify the whole stack .
Flutter The goal is to fundamentally change the way developers think about building applications , Let developers experience from the user , Instead of starting with an appropriate platform .

All the first and second tier companies in the world have used Flutter, Include their mainstream applications such as : WeChat ,Grab,Yandex Go,Nubank,Sonos ,Fastic,Betterment and realtor.com etc. .
stay Google It will also be used internally Flutter Development ,Google More than 1000 engineers are using Dart and Flutter Building the application , Many of these products have been released , Include :Stadia,Google One and Google Nest Hub wait .

A few months ago ,Google Pay Switch to... For its flagship mobile app Flutter, They have made great progress in productivity and quality . Through the unified code base , The team eliminated functional differences between platforms , And eliminated more than a million lines of code .Google Pay It was also reported that , Its engineers are much more efficient , Technology debt has been greatly reduced , Unified release process ( Such as span iOS and Android Safety review and test of ) Has been achieved .
Flutter 2 Behind the
distance Flutter 1.0 Has been released for more than two years , In the meantime Flutter It's closed 24541 individual issues, And merged from 765 Of a contributor 17039 individual PR. Since last year 9 month Flutter 1.22 Since its publication , It has been closed in succession 5807 individual issues And merged 298 Of contributors 4091 individual PR. Special thanks to our volunteer donors , They generously took time to improve Flutter project . by Flutter 2 The one who made the greatest contribution to the release The top volunteer is from Chengdu, China xu-baolin, It submitted 46 individual PR. in addition , except PR In addition to our contributors, there are a large number of volunteers PR Reviewers , Reviewed 1525 individual PR, Include hamdikahloun,CareF and YazeedAlKhalaf.Flutter It's really a job for the community , If there are no questions raised ,PR Contributors and code reviewers , It's impossible to have Flutter 2.
Flutter 2 Yes Web Support for
Flutter 2 One of the biggest changes in is to Web The production quality of has new support .
Flutter Yes Web The support of is based on hardware acceleration 2D and 3D Graphics and flexible layout and painting API, Provides an application centric framework , The framework makes full use of modern Web All the advantages offered .
Tips:Flutter Many of the teams are development Chrome Browser developers .
This initial release focuses specifically on three application scenarios :
- Progressive type Web Applications (PWA): take Web The scope of access is combined with the capabilities of desktop applications .
- Single page application (SPA), Load once and transfer data with the network .
- Put the existing Flutter Mobile applications bring to Web On , To enable shared code for both experiences .
Flutter The development team says ,Flutter 2 Intentionally for Web The platform provides a very standard 、 With DOM Centered development . Although the effect is good , Doing so may also bring performance obstacles ( Especially more advanced functions ).
In the past few months , In order to stabilize the release of Web Support preparation at the same time ,Flutter We have also made a lot of progress in performance optimization , For example, we added a WebAssembly Built CanvasKit Drive the rendering engine .
Flutter Plasma It's by community members Felix Blaschke Built Demo , Show the use of Dart and Flutter Build complex Web The simplicity of the graphic experience , These experiences can also run locally on a desktop or mobile device .
Besides Google Has also been expanding Flutter So that it can provide the best Web platform . In recent months ,Flutter Added text auto fill function , For the address bar URL And routing control and PWA detailed list . And because of PC Browsers are as important as mobile browsers , So we added interactive scrollbars and keyboard shortcuts , Added PC Default content density in mode , And added a screen reader to Windows,macOS and Chrome OS Accessibility support on .
Tips:Flutter Support for desktop applications is still at a relatively early stage , but Web Support has changed from Beta Test successfully become a regular .
Flutter 2 Yes PC、 Foldable and embedded device support
At this conference Flutter It also introduces Flutter Small partners in the ecosystem :Canonical、 Microsoft 、 Toyota :
Canonical And Google The cooperation will Flutter Into the desktop , Developers have contributed a lot of code to support in Linux Development and deployment on Flutter; Looking forward to the future Flutter yes Canonical Create a new future desktop And the default choice for mobile applications ;

Microsoft is continuing to expand its focus on Flutter Support for , Except yes Flutter Provide high quality Windows Support outside , Today, Microsoft will also release a report on Flutter Engine to support emerging foldable Android Device support .
- These devices introduce new design patterns , Its applications can extend content or take advantage of dual screen features to provide a parallel experience .

- These devices introduce new design patterns , Its applications can extend content or take advantage of dual screen features to provide a parallel experience .
Automaker Toyota Motor announced the adoption of Flutter Build its infotainment system , Bring the best digital experience to the vehicle .
- Use Flutter It's a big difference from the way we used to develop car Software , Toyota chose Flutter Because of its high performance and experience consistency , Fast iteration and ergonomics of developers and touch mechanism of smartphone layer , By using Flutter Of embedder API,Toyota It can be tailored to the unique needs of on-board systems Flutter.

Developing Flutter The ecological system
Up to now Flutter The ecosystem has ushered in, including Amazon 、 Microsoft 、Adobe、 Huawei 、 Alibaba 、 tencent 、eBay、Square And other companies contribute more than 1.5 m Flutter / Dart software package . Key package support such as :Lottie,Sentry and SVG, as well as Flutter Favorite Software packages such as : sign_in_with_apple,google_fonts,geolocator and sqflite etc. .

Last , Talk with your friends about this Flutter The release of version has the biggest impact on everyone : Air safety .
Air safety
Empty security is Dart An important supplement to language , It further enhances the type system by distinguishing nullable and non nullable types . This enables developers to prevent null Error crash , This is a common cause of application crashes . By incorporating null checking into the type system , You can catch these errors during development , So as to prevent the collapse of production . from Flutter 2 Start , contain Dart 2.12 The stable version of fully supports voice invalidation security .
pub.dev The package repository has been released 1000 Multiple empty security packages , These include Dart,Flutter,Firebase and Material Hundreds of software packages of the team .
because Flutter 2 be based on Dart Empty Security version of , This can lead to pub.dev A large number of plug-ins without empty security appear and cannot run in Flutter 2 On , therefore : If you want to upgrade your existing to Flutter 2 First of all, you need to make sure whether the plug-ins that the project depends on have corresponding empty and safe versions , If you are Flutter The developer of the package , Then please move your package to support empty security as soon as possible Dart edition .
Extended reading
边栏推荐
- 【yolov3损失函数】
- Linux Installation and deployment lamp (apache+mysql+php)
- leetcode:1200. Minimum absolute difference
- Want to ask, how to choose a securities firm? Is it safe to open an account online?
- Open3d European clustering
- 【主流Nivida显卡深度学习/强化学习/AI算力汇总】
- Matlab imoverlay function (burn binary mask into two-dimensional image)
- 1 plug-in to handle advertisements in web pages
- 强化学习-学习笔记3 | 策略学习
- Time tools
猜你喜欢

Linux安装部署LAMP(Apache+MySQL+PHP)

简单解决redis cluster中从节点读取不了数据(error) MOVED

yolov5目標檢測神經網絡——損失函數計算原理
![[untitled]](/img/56/6a9a4bcab6503872942fff7a365def.jpg)
[untitled]

MySQL splits strings for conditional queries

One article tells the latest and complete learning materials of flutter

【 YOLOv3中Loss部分计算】

Reinforcement learning - learning notes 3 | strategic learning

yolov5目标检测神经网络——损失函数计算原理

1 plug-in to handle advertisements in web pages
随机推荐
想问问,如何选择券商?在线开户是很安全么?
Yolov 5 Target Detection Neural Network - Loss Function Calculation Principle
【云原生 | Kubernetes篇】Ingress案例实战(十三)
【yolov3损失函数】
一次生产环境redis内存占用居高不下问题排查
Halcon 模板匹配实战代码(一)
Seven ways to achieve vertical centering
[configuration method of win11 multi-user simultaneous login remote desktop]
Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
pytorch-多层感知机MLP
信息服务器怎么恢复,服务器数据恢复怎么弄[通俗易懂]
Ncp1342 chip substitute pn8213 65W gallium nitride charger scheme
Acid transaction theory
Simply solve the problem that the node in the redis cluster cannot read data (error) moved
Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)
Principle of persistence mechanism of redis
Is investment and finance suitable for girls? What financial products can girls buy?
Principle of redis cluster mode
Uniapp + unicloud + Unipay realize wechat applet payment function
Four operations and derivative operations of MATLAB polynomials