This year’s Google I/O announced a lot of exciting stuff. Not only did Pixel hardware steal the show with the announcement of the Pixel 6a and Pixel Watch but we also got an early look at the upcoming Pixel 7 series and the Pixel Tablet.
However, we want to keep today’s tech update all about Flutter 3. As a part of the Google I/O keynote, they announced the launch of Flutter 3 with some really cool features for Flutter Developers and business owners!
Let’s dive in!
Flutter 3: The Epitome of Masterpiece
The new version of Flutter 3 is stable for macOS, Linux and also supports Apple Silicon. Being the most popular cross multi-platform with over 500,000 apps shipped to hundreds of millions of devices, it is now also the popular cross-platform UI toolkit for creating natively compiled & interactive applications. So when you upgrade from Flutter 2 to Flutter 3, it extends your app from a mobile-centric to a multi-platform one. With a single code base, you can target a more extensive audience base for six platforms. Click here to read the Flutter 3 release notes.
With the Flutter 3 release, they have extended their support for macOS for universal binaries so that Flutter apps can perform natively on Apple Silicon chips and Intel. Google also collaborated with Ubuntu’s Canonical to support Linux for a highly integrated cream the cream option.
This new version also has some noteworthy improvements, like support for Material design 3, Firebase integration, and a few enhancements for Dart.
Now, as a business owner or a mobile app developer, you must be wondering what would really make a difference for you. Is Flutter 3 that big an update for your business, or just another release to ignore? To help you understand that, we have bifurcated the article below. Find out what’s in for you with details.
Flutter 3: What’s in it for business owners?
- Support for six platforms from a single codebase
To build remarkable experiences throughout the six platforms, with Flutter, you can do that with a single codebase. That includes iOS, Android, Web, Windows, macOS, and Linux. Your development team can execute the projects productively, and you can address a more extensive audience base from now on.
In the previous releases, they supplemented iOS and Android with Windows and web support, and now Flutter 3 has stable support for macOS and Linux apps. While it was not an easy thing to execute, adding platform support required more than rendering pixels. It entails compilation and build support, accessibility and internationalization, and platform-specific integration. The goal here is to have a flexible platform so you can provide beautiful UI experiences.
- Flutter Casual Games Toolkit
There is a growing industry for casual game development with Flutter. So, at I/O they announced a Casual Game Toolkit – a starter kit of templates and best practices with Credits for ads and cloud services.
Also, there is a fun pinball game powered by Firebase and Flutter’s web support. While the primary version of Flutter isn’t designed for high-intensity 3D action gaming, games like PUBG have hundreds of millions of followers. It set an example and with Flutter’s Dash, Firebase’s Sparky, the Android robot, and the Chrome dinosaur, they want to showcase its versatility for the game development world.
- Build Great UI with Material 3
With Flutter 3, support for Material Design 3 is finally complete. So, now you can leverage this adaptable, cross-platform design system with dynamic color schemes and updated visual components to create a UI that enables great experiences.
Foldable Phone Support
With Samsung Galaxy Fold, there is an entirely new user base for the foldable device users. Now, you can also extend your support on foldable devices with Flutter 3.
- Flutter Firebase
You need a set of tools to help you in building, releasing, and operating your Flutter apps, for example, device testing, data storage, authentication, cloud functions, etc. With a variety of third-party platforms like Firebase, AWS Simplify, Sentry, etc. Flutter 3 enables enhanced Flutter Firebase integration for a fully supported core part of the Firebase offering.
What’s New for Flutter Developers in Flutter 3?
Cascading Menus and Support for the macOS System Menu Bar
The Flutter 3 has fresh updates for platform-specific integration, and interactive models for compilation to build support, and provide internationalization and accessibility.
The aim here is to have the flexibility to utilize the operating system and share UI and logic as required.
Universal binaries by default on macOS
Since its release, Flutter has been compatible with M1-powered Apple devices; Flutter now takes full advantage of Dart’s support for Apple silicon. So, now they can enable faster compilation on M1- powered devices and support universal binaries for macOS apps.
Web app lifecycles
With this new web app lifecycle API for Flutter apps, you can control the process of bootstrapping your app. You can now take advantage of desktop support for your app.
Simplified iOS Releases
There are new options available to simplify releasing your iOS app. When you are ready to distribute to TestFlight or the App store, try to run Flutter build IPA to build an Xcode archive and app bundle. You can optionally add —-export-method ad-hoc,—-export-method development, or —-export-method enterprise. Once the bundle is built, you can upload it to Apple through the Apple Transport macOS app or on the command line using xcrun altool.
After uploading is done, your app will be available to be released to TestFlight or the App Store. After setting up the initial Xcode project settings, such as display name and app icon, you no longer need to open Xcode to release your app.
Gradle version update
When you have your project with the Flutter tool, you might notice that the generated files now use the latest versions of the Gradle and Android Gradle plugins. For existing projects, you can manually bump the versions to 7.4 for Gradle and 7.1.2 for the Android Gradle plugin.
The future of Flutter definitely looks brighter with a fresh batch of Flutter features and functionalities in the new version, and of course, Google will continue to build upon it to expand Flutter’s capabilities.
We hope you continue to build experiences that delight your users with the awesome features of Flutter. To start taking advantage of Flutter 3, you can start upgrading your current version to the latest one. If required, you can hire flutter developer to help you with upgrading it further.