DEV Community

Dave Drager for XDA Developers

Posted on • Originally published at xda-developers.com on

2

Google announces Flutter 1.12 with support for web, macOS, and more

Google has been hard at work creating and expanding Flutter for the past few years. In case you think I’m talking about butterflies, Flutter is a cross-platform programming language. Its goal is to allow you to develop apps for any major platform with a single codebase. All you need to learn is Dart/JavaScript, and you can develop for Android, iOS, web, and desktop. This is no small feat, so it probably won’t surprise you when I say that Flutter, until now, has really only supported Android and iOS. Sure, that’s a lot of people for a target audience, but it doesn’t include everyone. Today, Google is announcing quite a few things, including expanded platform support.

First up is macOS support. While Flutter has actually technically supported macOS, Windows, and Linux for a while now, these libraries were basically in pre-alpha mode. APIs could change without notice, things might break, etc. Starting today, macOS is no longer in this pre-alpha stage. While it’s not quite stable yet, it should be safe to use for development. Continuing on the theme of platform support, Flutter Web is now in beta. Before, it was in a similar state to the desktop frameworks. Now, though, it should be stable enough to begin any pre-production work you might have had planned.

Unfortunately, that’s it for new platform support. Windows and Linux are still in very early development, and there’s no news on anything outside the Mobile OS Duopoly. Platform expansion isn’t the only thing that’s new, though.

Google has put a large focus on design with Flutter. The goal is to make it easier for designers and developers to work together, by improving the flow of integrating animations and graphics into apps. On that thread, Google is announcing a partnership with Adobe to bring Flutter integration to Adobe XD. With this integration, it’s possible to export a design from Adobe XD straight into a format that can be used inside a Flutter app.

Adobe XD to Flutter Plugin

The last thing to mention involves the language that Flutter uses: Dart. Dart now supports extension functions. Extension functions, in essence, allow you to add a method to a class without actually modifying the class. For more details, see this article on Dart Extension Methods Fundamentals.

That’s about it this time around. While this isn’t exactly an extensive list of new features, they’re all pretty major additions to Flutter and the development flow of using it. If you’ve been curious about trying out Flutter, but it wasn’t available in your preferred environment (and your preferred environment is macOS or web), now’s the time to get started.

The post Google announces Flutter 1.12 with support for web, macOS, and more appeared first on xda-developers.

Sentry mobile image

App store rankings love fast apps - mobile vitals can help you get there

Slow startup times, UI hangs, and frozen frames frustrate users—but they’re also fixable. Mobile Vitals help you measure and understand these performance issues so you can optimize your app’s speed and responsiveness. Learn how to use them to reduce friction and improve user experience.

Read full post →

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay