With the Google Flutter user interface framework, users can build locally aggregated applications for mobile, web, and desktop from a single database. The Google just announced Flutter 3rd Edition 2022, Version 3.3.1And the Flutter’s Dart . version 2.18. Both versions are improvements without significant new features. A new rendering engine called Impeller is available, but only in preview and iOS only. Google also launched a new viewing app, Wonderous, built with Flutter 3.3 and using Impeller on iOS.
What’s new in Flutter 3.3
Flutter apps do not use the UI elements of the platform but emulate them. Flutter comes with a physical user interface, which works on all platforms, and a suite of iOS widgets. The open source libraries offer Windows, macOS, and Linux UI element collections.
Text selection in Flutter web apps now works as expected – users can select multiple rows of text at once. Trackpad gestures work best in desktop applications. Windows apps now get their own version number from
pubspec.yaml build file. And iPad apps can use Scribble with the Apple Pencil to enter handwriting.
Some of the Article 3 components have been improved in this release:
Chips, And the
AppBar. Loading in-app images is faster and uses less memory with the new
ui.ImmutableBuffer.fromAsset() method. Pointer compression is now disabled on iOS to make more memory available for non-Dart parts of the Flutter app (such as libraries).
go_router The package simplifies in-app routing with URL-based ads. Version 4.3 supports asynchronous code. The Flutter Visual Studio Code extension and Flutter DevTools have also been improved.
Flutter 3.3 no longer works on 32-bit iOS devices. This does not include iPhone 5C models (from 2014) and earlier and from the second generation to the fourth generation of the iPad (the latter was launched in 2012). The upcoming Q4 / 2022 Flutter will not work on macOS 10.11 (from 2015) and 10.12 (from 2016) either.
Apple dropped Bitcode from upcoming iOS and iPadOS releases this fall. That’s why Flutter will also remove support for Bitcode in a future release.
She used Flutter Skia as her graphic engine from the start. Skia powers Chrome, Firefox, Android, ChromeOS, and more. In contrast, Impeller is built specifically for Flutter and “takes full advantage of modern hardware-accelerated graphics APIs like Metal on iOS and Vulkan on Android.” This allows for better animations and removes a common source of “yank” – choppy animations and transitions.
When Announcing the previous versionThe Flutter team cited 500,000 Flutter apps as an indicator of success. This time around, the Flutter team said that “every day, more than 1,000 new mobile apps using Flutter are published in the Apple and Google Play stores.” Unfortunately, both numbers lack context, such as how competing platforms are performing.
What’s new in Dart 2.18
Dart introduced Voice-Free Safety in March 2021, which covers both applications and libraries. This is the same as Swift, but unlike Kotlin, which cannot guarantee null security for the libraries. All of the top 250 Flutter and Dart libraries migrated to null security, and only 2% of the top 1,000 libraries did not. More than 80% of all Flutter apps launched in July 2022 used null security. That’s why Dart plans to stop supporting versions of Dart without blank security by mid-2023.
Dart includes a cross-platform HTTP library. Provides experimental support for two platform-specific libraries. the first one is
cupertino_http For iOS and macOS. Apple uses
NSURLSession To get features like WiFi only or VPN access. The second library is
cronet_http For Android, based on the popular Cronet library.
The Dart Foreign Function Interface (FFI) for calling native C APIs can now interact with Objective-C and Swift code on iOS and macOS. Improved qualitative inference detects some instances of non-nullable parameters better. Asynchronous code is a bit smaller and runs a bit faster.