Flutter 2.0 — Next generation framework for Web & Desktop
Google has finally launched the Flutter 2.0 version at a Flutter Engage event. It’s an open-source UI development kit that helps to develop cross-platform applications using a similar codebase. Using Flutter 2, We can deliver native applications with a similar codebase to the top 5 Operating Systems: Android, iOS, Linux, Windows, and macOS.
Moreover, It has the potential to give the web experience targeting various browsers like chrome, safari, firefox, and edge.
We will look into the new features and updates introduced in the release of flutter 2.0 and how it targets developers across all platforms.
Flutter’s Web Support
The production quality of flutter web support was the biggest thing in the Flutter 2 release event. It always supports the web, that establishes innovation, and rendering mobile app solutions that reap all perks of everything that advanced web should deliver.
Google mainly concentrated on performance and enhancements to their rendering fidelity. Moreover, they are loaded with web-specific features like PWA manifests, text autofill, control over address bar URLs, and routing.
Flutter’s Desktop Support
The desktop support of Google’s flutter can be tried as a launch targeting for all the flutter apps. There are many improvements in a flutter that bring the desktop to top quality and confirm that the editing of text works like indigenous experience on every supported platform that has foundational features like text selection points.
Flutter’s Extended Portability
Flutter is extending other types of devices, beyond conventional mobile devices and the web. Google highlighted 3 team-ups that showcase and maximize the portability of flutter.
Firstly, Google and Canonical organizations are teamed to bring support to the desktop. Secondly, Microsoft will provide contributions to the Flutter engine that gives support to the foldable Android devices.
Finally, the world’s best-selling car manufacturer, Toyota, declared its strategies for bringing the best-in-class digital experiences to vehicles, by creating infotainment systems enabled by Flutter.
Support for Null Safety
Google also launched Dart 2.12 in the same event with the support of null safety. Null safety can reduce cringe null reference exceptions. It provides assurances at compile time that types can just comprise null values just in case the developer selects expressly.
The Emerging Flutter Ecosystem
Google declares the beta launch of Mobile Ads for a flutter. This SDK works well with AdManager and AdMob for providing different ad formats, banners, rewarded video ads, incorporating native, and interstitial. Moreover, this organization also declared updates to its Flutter plugins for many key features in Firebase services like Cloud Firestore, Cloud Messaging, Cloud Functions, Authentication, Crashlytics, and Cloud Storage
Flutter DevTools
Google has done lots of work to make Devtools worth of production quality. It’s added with the capacity to display fixed layouts, allowing developers to debug all types of layouts. Some new features in Devtools as follows:
- Timid grid is added in CPU profiler flame charts.
- Filtering and Search are included in the logging tab.
- Average FPS data are included in the flutter frames chart with Usability improvements.
- New memory view charts are faster and easy to use.
For more blogs: https://www.payoda.com/resources-blog/
Author: Vimalathithan A