当前位置:网站首页>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
边栏推荐
- mmclassification 训练自定义数据
- Redis cluster (master-slave) brain crack and solution
- 全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
- 调查显示传统数据安全工具在60%情况下无法抵御勒索软件攻击
- What is digital existence? Digital transformation starts with digital existence
- 嵌入式软件架构设计-消息交互
- Why do you always fail in automated tests?
- July Huaqing learning-1
- Which domestic cloud management platform manufacturer is good in 2022? Why?
- Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
猜你喜欢
强化学习-学习笔记3 | 策略学习
Multi table operation - sub query
[calculation of loss in yolov3]
Redis master-slave mode
嵌入式软件架构设计-消息交互
Liunx prohibit Ping explain the different usage of traceroute
Tabbar configuration at the bottom of wechat applet
Hiengine: comparable to the local cloud native memory database engine
[cloud native | kubernetes] actual battle of ingress case (13)
Error modulenotfounderror: no module named 'cv2 aruco‘
随机推荐
Redis集群的重定向
Take you two minutes to quickly master the route and navigation of flutter
【TFLite, ONNX, CoreML, TensorRT Export】
查看rancher中debug端口信息,并做IDEA Remote Jvm Debug
Want to ask, how to choose a securities firm? Is it safe to open an account online?
Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
Pytorch MLP
多表操作-自关联查询
redis主从中的Master自动选举之Sentinel哨兵机制
2022年国内云管平台厂商哪家好?为什么?
Reading notes of growth hacker
byte2String、string2Byte
Image hyperspectral experiment: srcnn/fsrcnn
Programmers are involved and maintain industry competitiveness
【load dataset】
投资理财适合女生吗?女生可以买哪些理财产品?
Recyclerview paging slide
Acid transaction theory
mysql拆分字符串做条件查询
JS for循环 循环次数异常