Developers: Google’s Flutter 2.5 and Dart 2.14 have arrived. Here’s what’s new
Google has released Flutter 2.5 and Dart 2.14, the latest updates to its UI framework for multiple form factors and app development programming language, respectively.
Newly announced Flutter 2.5 makes some improvements for apps on Android devices when running in full screen mode. The full screen options for developers include “lean back, sticky, sticky immersive, and edge to edge”, as well as customization options.
Many of the updates and changes come from pieces of Flutter that contributors to the open source project have made since Flutter 2.0 was released in March.
Google has also updated Flutter’s “floating action button” for Android with new sizes and themes. Flutter can now also handle scrollbars differently, allowing it to appear or disappear even if the user isn’t scrolling but using a screen where it makes sense.
Flutter 2.5 includes some new capabilities to the ScaffoldMessenger widget that was built to deal with “SnackBar” or a pill-shaped, vanishing notifications; developers can add a banner to the top of a scaffold that persists until the user dismisses it.
Flutter’s text editing features give developers a new choice to make text editing keyboard overridable, allowing them to remap keyboard shortcuts to do new tasks.
There are also dozens of improvements to the camera plugin for iOS and Android UI development. The Flutter camera plugin, for example, gives an app access to the device cameras.
The Flutter image picker plugin for iOS and Android also gained a few updates, including compliance with the Google Play Store “scoped storage” requirement for apps on Android 11 and up. It became mandatory in May and is meant to provide better protection for app and user data on external storage by restricting an app’s access to the app-specific directory on external storage.
Flutter DevTools gains several improvements to help spot UI performance issues such as slow frame times, allowing developers to pinpoint what needs to be fixed. The DevTools inspector should now more clearly display what debug debug buttons do, make it easier to find widgets in the widget tree view,
On the IDE side of things, Google highlights improvements for the IntelliJ and Android Studio plugin for Flutter.