At Google Developer Days in Shanghai, China, Flutter 1.9 was unveiled. It is live and ready to upgrade! The latest features include support for Apple’s Catalina OS and iOS 13, new widgets for Materials, a new command for Android, and some fixed issues that will prevent crashing. According to Chris Sells, PM for the Flutter dev experience, this is the biggest update yet.
1.9 is live! Chris Sells, PM for the Flutter developer experience calls it “the biggest update yet with more than 1,500 PRs from more than 100 contributors”. Check out what’s new for mobile developers and catch up with what went down at Google Developers Days in Shanghai.
Improvements & new features
Version 1.9 introduces plenty of new goodies and improvements. Here are some highlights.
- Apple pre-release support: As Apple prepares for the release of Catalina and iOS 13, Flutter is already release-ready and raring to go. Version 1.9 updates the end-to-end tooling experience to work with Catalina and with Xcode 11. It adds new Xcode build system support and enables 64-bit support throughout the toolchain. This release also supports iOS 13 features such as the draggable toolbar and vibration feedback. Meanwhile, work for dark mode support is underway.
- Materials widgets: New widgets for Material including
ColorFiltered. The ColorFiltered widget can extend its usability to help with color blindness accessibility issues. See the ToggleButtons sample and the ColorFiltered sample for a taste and some inspiration for future app design. The new SelectableText widget allows users to select read-only text.
- Android changes: Android receives support for a new command: flutter build aar. It works like
flutter build apkor
flutter build appbundle, but for plugins and module projects.
- Bug/issue fixes: This release fixes several issues regarding crashes, customer critical issues, and performance issues.
- 24 new languages supported: Including Afrikaans, Macedonian, Zulu, Icelandic, and more.
- Core engine improvements
Flutter enters the web
What this means is that if you have the latest builds of Flutter from the master or dev channel, you can target the web with the latest experimental version of Flutter by running
flutter run -d chrome.
When you create a project, Flutter now creates a web runner via a minimal
web/index.htmlfile that bootstraps your web-compiled Flutter code. With that file in place, you can use the Flutter CLI tool or the IDE plugins to edit and run Flutter apps on the web.
With this merging, now all users can play with this experimental web support. Two community projects have already been created that show off what Flutter’s web output can do. Check out the Flutter Widget Livebook and Panache.
This feature is still in its cocoon and is currently a tech preview.
More GDD news
This isn’t the only bit of news to come out of GDD China. The stable release of Dart 2.5 was also announced.
This new update hits the target. Dart 2.5 includes improved support for constant expressions, a new machine learning-powered developer tool, and a pre-release of the
dart:ffi foreign function interface. The Foreign Function Interface allows users to call directly into code written in C.
Dart users can opt-in and test out the ML Complete preview in VS Code and IntelliJ/Android Studio.