当前位置:网站首页>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
边栏推荐
- 简单解决redis cluster中从节点读取不了数据(error) MOVED
- Yolov5 target detection neural network -- calculation principle of loss function
- 【pytorch 修改预训练模型:实测加载预训练模型与模型随机初始化差别不大】
- 【上采样方式-OpenCV插值】
- Four operations and derivative operations of MATLAB polynomials
- [mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]
- [pytorch pre training model modification, addition and deletion of specific layers]
- 多表操作-自关联查询
- vscode快捷键
- Want to ask, how to choose a securities firm? Is it safe to open an account online?
猜你喜欢
[upsampling method opencv interpolation]
Riddle 1
Pytorch weight decay and dropout
Seven ways to achieve vertical centering
Matlab label2idx function (convert the label matrix into a cell array with linear index)
The most comprehensive new database in the whole network, multidimensional table platform inventory note, flowus, airtable, seatable, Vig table Vika, flying Book Multidimensional table, heipayun, Zhix
【yolov5.yaml解析】
[configuration method of win11 multi-user simultaneous login remote desktop]
mmclassification 训练自定义数据
Mongodb replica set
随机推荐
mmclassification 训练自定义数据
Understand kotlin from the perspective of an architect
Understanding the architecture type of mobile CPU
Riddle 1
abap查表程序
Halcon template matching actual code (I)
Ncp1342 chip substitute pn8213 65W gallium nitride charger scheme
Principle and performance analysis of lepton lossless compression
[pytorch modifies the pre training model: there is little difference between the measured loading pre training model and the random initialization of the model]
[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]
只是巧合?苹果 iOS16 的神秘技术竟然与中国企业 5 年前产品一致!
【pytorch 修改预训练模型:实测加载预训练模型与模型随机初始化差别不大】
Pytorch softmax regression
Check the debug port information in rancher and do idea remote JVM debug
Pytorch linear regression
Network five whip
《增长黑客》阅读笔记
Mmclassification training custom data
[singleshotmultiboxdetector (SSD, single step multi frame target detection)]
Time tools