当前位置:网站首页>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
边栏推荐
- leetcode:1200. Minimum absolute difference
- Linux Installation and deployment lamp (apache+mysql+php)
- redis 集群模式原理
- Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
- Mongodb replica set
- [mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]
- 【TFLite, ONNX, CoreML, TensorRT Export】
- 语义分割实验:Unet网络/MSRC2数据集
- Principle of persistence mechanism of redis
- ABAP table lookup program
猜你喜欢
Check the debug port information in rancher and do idea remote JVM debug
pytorch-权重衰退(weight decay)和丢弃法(dropout)
Redis cluster (master-slave) brain crack and solution
Redirection of redis cluster
Network five whip
liunx禁ping 详解traceroute的不同用法
Pytorch weight decay and dropout
全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
【 YOLOv3中Loss部分计算】
【yolov3损失函数】
随机推荐
【Win11 多用户同时登录远程桌面配置方法】
redis的持久化机制原理
pytorch-权重衰退(weight decay)和丢弃法(dropout)
One article tells the latest and complete learning materials of flutter
查看rancher中debug端口信息,并做IDEA Remote Jvm Debug
Uniapp + unicloud + Unipay realize wechat applet payment function
自动化测试生命周期
【L1、L2、smooth L1三类损失函数】
Intern position selection and simplified career development planning in Internet companies
pytorch-线性回归
图像超分实验:SRCNN/FSRCNN
Embedded software architecture design - message interaction
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
redis 集群模式原理
Mmclassification training custom data
Redis cluster (master-slave) brain crack and solution
【yolov3损失函数】
全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
Acid transaction theory
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.