Flutter is an incredible platform for building cross-platform applications. It offers a best-in-class developer experience, it’s a breeze to get up and running, and it builds apps that look and feel fantastic.
Every developer on our team who has worked with it has immediately grown to love it, and it’s consistently been one of our top recommendations for clients who may not be looking for fully-native Android and iOS app development.
Earlier this month, Google announced the release of Flutter 2, which is a huge milestone for the platform. There are a few key features in particular that we’re especially excited about.
We’ve primarily reached for Flutter to build cross-platform Android and iOS apps. It’s also been possible to build web apps in Flutter, but support for it has been in beta up until now, so we haven’t been able to wholeheartedly dive in on it.
So it’s extremely exciting to see that, with Flutter 2, deploying web apps is now supported in the stable, production-ready track.
This is a huge step towards reaching the tantalizing goal of having a single codebase that builds to all platforms, allowing us to write once and deploy everywhere!
Sound Null Safety
We primarily work with Kotlin and Swift to develop our mobile apps, and are firm believers in the safety and explicitness afforded by their handling of null values. Good null-handling protects us against an entire class of null-related bugs, and allows us to rely on the compiler to help us catch those bugs before we even run our apps.
With Flutter 2, Google has now introduced sound null safety to the Dart programming language. We’ve seen firsthand how effective this can be for writing safer and more stable code, and are thrilled to be able to leverage it within our Flutter apps!
As of today, Flutter 2 apps can now be deployed on Android, iOS, web, macOS, Windows, and Linux. We’re eager to see how the framework continues to evolve and include other platforms going forward! We’d especially love to see support for TV platforms like Apple TV, Android TV, and Roku, added to the mix.
It’s exciting to see how much Flutter continues to grow, and we regularly recommend it as one of our go-to options for cross-platform development. With the addition of stable web support and the other additions improvements to the framework and Dart language, Flutter 2 has become an even more effective tool in our toolbox.
We’ve already started tinkering with proofs of concept to further explore the new capabilities, and can’t wait to see what we’re able to accomplish for our clients with Flutter 2 in the future!
Hero image by Artur Shamsutdinov on Unsplash