Google Flutter 2.5 UI kit is now stable
The updated version hones in on performance and improved capabilities for Android and iOS.
Google Flutter UI Kit 2.5 is now stable
The updated version highlights performance and improved options for Android and iOS.
the latest version of Google’s UI tools for native app development offers better performance and full-screen improvements for Android.
Introduced on September 8, Flutter 2.5 improves image rasterization by precompiling wire shading through metal rendering. Proponents of flutter are promoting this move as a step to reduce iOS whining. Snapshot processing also now takes precedence over other asynchronous event processing, eliminating whining from this source of flutter testing. Another step to reduce whining involves a garbage collector (GC), which suffers whining when the GC stops a UI thread to reclaim memory; now memory for unused images is intensively reclaimed, which significantly reduces GC.
Other performance improvements include messaging latency between Dart and Objective-C/Swift (iOS) or Dart and Kotlin/Android. As part of debugging message channels, removing unnecessary copies of message codecs can reduce latency by up to 50%, depending on message size and device.
Another performance improvement is for iOS targeting. Built on Apple Silicon M1 Macs, Flutter apps run natively on ARM iOS simulators. Therefore, there is no Rosetta translation between Intel x86_64 and ARM instructions, which improves performance during iOS application testing and allows developers to avoid subtle Rosetta issues. This is one step towards full Flutter support for Apple Silicon.
Flutter 2.5 was announced as stable on September 8. Installation instructions can be found at flutter.dev. Also in Flutter 2.5:
Fixed issues related to full screen modes for Android. Support is provided for various full screen modes that affect the visibility of UI overlays such as status and bottom navigation bars. Dart 2.14, also introduced on September 8, is included with new formatting for clearer cascades, new pub support for file ignores, and language features, including the return of the legendary triple shift operator. Dart 2.14 also includes a standard set of ribbons shared between new Dart and Flutter projects out of the box.
Flutter DevTools could benefit from updates that, for example, allow Flutter to better track events on specific slides, helping developers determine why a slide’s budget might be exceeded. DevTools also helps diagnose shader compilation whines in an application using the Flutter engine’s ability to detect shader compilation events. Meanwhile, an update to the Widget Inspector allows you to hover over a widget and evaluate object and display properties. Support for iOS 8 was dropped, with Google citing its lower market share.