At Agira, Technology Simplified, Innovation Delivered, and Empowering Business is what we are passionate about. We always strive to build solutions that boost your productivity.

What’s Exciting About Flutter 2.5 Features?

  • By Agira Technologies
  • September 17, 2021
  • 176 Views

From the release of the latest version of flutter past week, Flutter developers are most excited about Flutter 2.5 features. The latest edition of Google’s Flutter SDK, version 2.5, offers improved support for full-screen Android applications, Material You widgets, and more, as well as Apple Silicon support for the Dart programming language.

With the introduction of “Flutter 2” earlier this year, Google changed the dynamic of Flutter from a cross-platform mobile app platform to a massively cross-platform tool for creating apps for all devices. Following the relatively small upgrade of Flutter 2.2, the team is coming out with a bang with this newest version, which includes new features and performance improvements.

Google Releases Flutter 2.5, Dart 2.14
Source: Google

The highlights of this version, according to the Flutter team, are not the sparkly new features. But the progress they’ve made toward improving platform performance. Flutter 2.5 contains improvements that will benefit all developers. The improvements include enhanced interaction between animations and asynchronous code, fewer garbage collector operations, and lower latency on native calls. There are also some iOS-specific enhancements to startup time and other things.

Related: Top Mistakes You Should Avoid In Flutter App Development

One of the most desired features of Flutter that were asked by Android developers is the full-screen ability in applications. You can now observe when your app enters and exits full-screen mode and adjust Android’s navigation bar.

Meanwhile, Flutter continues to prepare for Material You, Google’s new design language, as the complete release of Android 12 approaches. Let’s take a quick look at the new Flutter 2.5 features.

Flutter 2.5 features

Android Full-Screen Mode

full screen flutter features
Source: Google

Better full-screen support for Android apps is a significant feature in Flutter 2.5. The following new immersive modes are in the update:

  • Tap anywhere on the screen to bring up the system overlays when you lean back.
  • Immersive: display system overlays by swiping on the screen’s edge.
  • Immersive Sticky: identical to Immersive, but the framework handles swipe.
  • Edge-to-Edge: use transparent system overlays to show application components.

Material You

Flutter 2.5 material you
Source: Google

Material You is Google’s most recent iteration of Material Design. Although, Material v3, often known as Material v3, is a substantial overhaul of the Material Design language. New shapes, themes, and even dynamic color effects have been added.
Material You support is now available in Flutter 2.5, with larger FAB sizes and more theme choices. Although it isn’t fully complete, it demonstrates that Google is making progress.

Related: How Much Does It Cost To Develop A Flutter App

Improvements in Scrolling

The new MaterialState.scrolledUnder state lets you see in action with the sample code in the PR (#79999)

Flutter 2.5 scrolling
Source:Google

The inclusion of scroll metrics alerts that offer notifications about scrollable regions even when the user isn’t scrolling is another enhancement. For example, depending on the underlying size of the ListView, the scrollbar appears or disappears as appropriate.

You don’t need to write any code in this scenario, but you may if you want to catch the ScrollMetricNotificationchanges.

Material Banner Support

The inclusion of Material banner support to the ScaffoldMessenger is another great effort from the community. ScaffoldMessenger is a more sophisticated approach to present SnackBars at the bottom of the screen to give users alerts, as announced in the Flutter 2.0 release announcement. You can now put a banner to the top of your scaffold in Flutter 2.5 that will stay in place until the user dismisses it.

Flutter 2.5 banner support
Source:Google

Plugins for the IDE

The IDE plugins for IntelliJ/Android Studio and Visual Studio Code are in line with the Flutter 2.5 version.

Android Studio/IntelliJ

Flutter developers can now run integration tests throughout the whole project using the new IntelliJ/Android Studio plugin. These tests have their own directory and are executed on the device. Coverage reports for unit and integration tests are now available.
Finally, when you acquire fonts from pub.dev, a tiny feature allows you to see TrueType font icons in the IDE. It’s a wonderful tool to have, but you have to inform the IDE which packages you’re using, and it only works on static constants.

Visual Studio Code 

Two new commands have been added to the Visual Studio Code plugin for Flutter to make installing Dart and Dart Dev requirements simpler. A Repair All command has been added to automatically format and fix lint problems in the current file.

A new test runner for Dart and Flutter code is also available in the preview and may be activated in this version. This will ultimately replace the present runner with this new one.

Furthermore, these plugins are no longer marked as Flutter Favorite plugins because they are no longer actively maintained. Flutter experts recommend upgrading to the plus versions of the following plugins if you haven’t already:

Flutter 2.5 plugin
Source: Google

Pigeon

Pigeon is a Flutter code generating tool that aids developers in bridging code between Flutter and native platforms. It generates Flutter, Java, and Objective-C stubs using a unique interface descriptor syntax. It’s also null-safe and type-safe.
Pigeon 1.0 adds basic functionality to the stable channel, as well as improved error messages, generics, primitives, and multiple arguments support.

Dart 2.14

Flutter offers a lot of new features, but the underlying language, Dart, has significant modifications as well.

Apple Silicon Dart 2.14.1 includes improved Apple Silicon support. Apple Silicon’s Dart SDK is now stable, and iOS emulators may now operate on ARM64. Unfortunately, the Dart SDK that comes with the Flutter SDK does not currently support Apple Silicon natively.

Related: Top 10 Apps That Are Built Using Flutter Framework

Since its inception, Dart has gone through several modifications, including the syntax and stylistic standards that surround it. There has been a considerable misunderstanding about how to correctly format Dart and Flutter code as a result of these changes and the persistence of old-style instructions.

Lint has a set of conditions in Dart 2.14.1 and Flutter 2.5, and these conditions are default.

Conclusion

There’s a lot more in Flutter 2.5 and Dart 2.14 that’s new. You can check out Google’s blog entries on Flutter 2.5 features and Dart 2.14 to learn more about what’s new.

Google Flutter is a tool that allows you to achieve high-performing outcomes with limited capital and commitment. So why not take advantage of it and hire an internationally recognized Flutter App Development Company?

Get end-to-end Fluuter application development solutions for an unparalleled user experience. With our top-of-the-line technology expertise, We have been entitled to prestigious titles and awards as the best software development company that caters to industries and clients worldwide.

Find the approximate cost to build your Application
Check Out