What Features Comes with New Flutter 2.5?
Tags: flutter, android, ios, mobile
Published: 2021-10-26 12:28:00

The latest version release of Flutter has made Flutter app developers excited about new features. The 2.5 version of Flutter SDK provides better support for widgets Material You, full-screen Android apps, and much more. After introducing Flutter 2, Google transformed the platform’s dynamic from a cross-platform for mobile apps into a tool for making apps for every device. Following the upgrade in Flutter 2.2, the team of Flutter came out with an amazing newest version that includes improvements in performance, new features, and upgrades.

Flutter’s most awaited feature is the full-screen capability in Android applications. You can see when the app enters or exits the full-screen mode. Moreover, you can adjust the navigation bar of Android. This capability will help the developers to deliver improved mobile app development solutions. Meanwhile, Flutter is preparing for the newer design language of Google, Material You, as the Android 12 release is approaching. So, without any delay, let’s discuss the exciting modifications and new capabilities of Flutter 2.5.

 

 
New Features and Improvements of Flutter 2.5

 
1.Full-Screen Mode in Android

Improved support for full-screen mode in Android applications is one of the significant features of the new version. In Flutter 2.5, there are the following immersive updates.

    Lean Back: Tap on the screen for bringing the system overlays up into view.

    Edge-to-Edge: You can utilize transparent overlays for showing app components.

    Immersive Sticky: It helps in handling swipes.

    Immersive: This mode causes system overlays to display whenever the screen gets swiped on edge.

 
2.Material You or v3

It is one of the most recent iterations of Google’s Material Design. Material v3 is an excellent language of Material Design that includes new shapes, color effects, themes, etc. It comes with huge FAB sizes as well as theme choices. Even though it seems pretty good, Google is still making progress in it.

 
3.Performance

Flutter 2.5 includes a multitude of performance improvements. Some of its common improvements are listed below.


One of the best performances is the PR that tap shader precompilations from training runs done offline. This cuts the times of worst-case frame rasterization by 2/3s. It also cuts the frame of the 99th percentile by half. Along with this, the iOS jank is reduced. Another jank cause is the garbage collector of GC that pauses the thread of UI to again claim its memory. Earlier, Dart VM performed GC that lazily reclaimed the memory images. But this practice led to many low-memory situations in devices. In the new version, unused images memory is reclaimed well, which reduces GCs.

 
4.Better Scrolling

The newest MaterialState.scrolledUnder state allows you to view in action and sample PR codes (#79999). With the alerts of scroll metrics inclusion, one gets notifications about the scrollable region even when users are not scrolling. For instance, depending upon the ListView size, the scrollbar disappears or appears. The Flutter app developers do not have to write codes in this case, but they can if they want the ScrollMetricNotificationchanges.

Get to know more here latest features of Flutter 2.5: https://www.rlogical.com/blog/flutter-2-5-exciting-features-and-performance-improvements/