Flutter 2.5 and Dart 2.14 becoming more efficient.
It is almost impossible for you didn’t hear about Flutter if you are in cross-platform development. On Wednesday, Google announced the new Flutter 2.5 and Dart 2.14 and both have lots of new things.
Flutter is a cross-platform UI framework that provides developers single code base for multiple mobile and web platforms using Dart programming language.
Let’s talk about the updates that come with Flutter 2.15 and Dart 2.14.
In this Blog
Android full-screen support
Flutter 2.5 comes with better full-screen supports for the apps running on the Android operating system. Flutter’s update has the following new immersive features:
- lean back – a full-screen mode that brings system overlays into view by tapping anywhere on the screen
- the application does not receive this tap
- immersive – a full-screen mode that brings system overlays into view by swiping at the edge of the screen
- the framework does not receive this swipe
- immersive sticky – a full-screen mode that brings system overlays into view by swiping at the edge of the screen
- the framework receives this swipe
- edge to edge – this makes the application take up the full-screen, with the overlays hovering on top
Material You Support
Material You–New version (v3) of Google’s Material Design. New Material Design has new dynamic color effects, shapes, and themes.
Flutter 2.5 comes with the Material You support with new options. “It’s not a complete implementation yet,” says XDA, “but it shows that Google is making progress.”
With the release of Flutter 2.5 plugins for Android Studio/IntelliJ and Visual Studio Code are being updated.
Android Studio/IntelliJ Flutter plugins update
The New Android Studio/IntelliJ plugin for Flutter allows developers to run integration tests on the entire project at the same time. Developers have to define these tests in the device’s directory. The new plugin also helps in generating coverage reports and unit testing.
There is another pleasant feature that now developers can preview TrueType font icons in the IDE after fetching them from the pub.dev. But, it has caveats that you have to tell IDE that which packages are you using and this feature only works on static constants.
Visual Studio Code Flutter plugins update
This update makes it easy to install Dart and Dart Dev dependencies, thanks to two new commands. A “Fix now” command also comes with the new update, which helps to automatically format and fixing lint issues in the current file.
Visual Studio Code Flutter plugins update also has a new test runner for si version Dart and Flutter Code that can be enabled in the recent version. The new runner will replace the current runner after some time.
Dart–The backend of Flutter, also comes with some additional features with the new update.
Better Apple Silicon Support
The newer version of Dart, 2.14.1, has better support for Apple silicon. Dart SDK for Apple Silicon is now more stable and iOS emulators can be run on ARM64. But, Dart SDK included in Flutter SDK still doesn’t support native Apple Silicon.
Dart 2.14.1 and Flutter 2.5 “now have a set of conditions for lint, and these conditions are applied by default.”