New updates to mobile platforms include the following:
Gradle version update
The produced files for a new project made using the Flutter tool may now use the most recent versions of the Gradle and Android Gradle Plugins. You must manually update the versions of existing projects to 7.4 for Gradle and 7.1.2 for the android Gradle Plugin.
Foldable phone support:
Foldable mobile devices are supported by the Flutter 3 version. New widgets and capabilities made possible by a cooperation led by Microsoft let you design engaging and dynamic experiences for foldable hardware.
A list of Display Features, which describe the boundaries and states of device elements like hinges, folds, and cutouts, is now part of Media Query because of this work. The Display Feature Sub Screen widget has also been integrated with the framework’s pre-built dialogues and pop-ups, positioning its child widget without touching the boundaries of Display Features and enabling Flutter to be aware of and responsive to these elements right out of the box.
IOS variable refresh support:
On iOS devices with Pro Motion displays, such as the iPad Pro and iPhone 13 Pro, Flutter is now supported. Flutter apps, which were previously only capable of 60 Hz refresh rates, may now render on devices with refresh rates as high as 120 Hz. As a result, quick motions like scrolling will run more smoothly.
New updates for web listed below:
Web app lifecycles:
The new lifecycle API for Flutter web apps provides you the freedom to manage your Flutter app’s bootstrap procedure from the HTML page that hosts it, and it works with Lighthouse to evaluate your app’s performance.
This is applicable in a wide range of cases, including the mentioned frequently inquired cases.
- A splash screen.
- A plain HTML interactive landing page is shown before the Flutter app.
- A loading indicator
For more information click Customizing web app initialization
In platforms that support it, Flutter Web now automatically recognizes and makes use of the Image Decoder API. Most Chromium-based browsers (including Chrome, Edge, Opera, Samsung Browser, and others) as of right now have this API.
Using the built-in image codecs of the browser, the new API decodes images asynchronously off the main thread. This eliminates any junk that was previously brought on by images and speeds up image decoding by a factor of 2. It also never blocks the main thread.
To get started with flutter3 click here.
possess the following properties as well:
With a feature called “theme extensions,” Flutter now makes it feasible to add anything to the Theme Data in the material library.
The latest edition of Material Design, Material Design 3, is supported by Flutter 3. Opt-in support for Material 3 is offered by Flutter 3. This includes Material You features like dynamic color, an updated color scheme and typography, improvements to numerous components, and new visual effects like a new touch ripple design and a stretch over scroll effect that were introduced in Android 12.
With the release of Flutter 3, many new possibilities have arisen for creating and expressing more original and exciting ideas. Flutter will now be accessible on a wider range of platforms and gadgets, increasing its use and popularity.