What’s new in Flutter 3.22 - Flutter

What’s new in Flutter 3.22 - Flutter

- 💻 WebAssembly Integration:

- WebAssembly (Wasm) is now available on Flutter's stable channel, offering significant performance improvements.

- Internal benchmarks show 2x average and 3x worst-case frame rendering time improvements in the Wonderous app using Chrome on an M1 MacBook.

- 🎨 Graphics Rendering Enhancements:

- Flutter 3.22 introduces a fully featured Vulkan backend for Impeller on Android, promising smoother graphics and major performance boosts.

- Significant updates to Impeller include ongoing optimizations for blur effects and complex path rendering, along with a new experimental API for testing.

- 🤖 AI Integration:

- A preview of Vertex AI for Firebase in Dart is available, enabling developers to leverage generative AI features for their Dart or Flutter apps.

- Improved DevTools offer performance improvements, advanced filtering, and support for importing and exporting memory snapshots.

- 🔧 Framework Improvements:

- Widget state properties are enhanced with MaterialState moved outside the Material library and renamed WidgetState.

- Dynamic view sizing and improved form validation methods are introduced, along with covariants in 2D APIs for simplified development workflows.

- 📱 Android Updates:

- Support for deep linking and predictive back gesture feature flags is added, enhancing user experience on Android devices.

- Gradle, AGP, Java, and Kotlin version requirements are enforced by the Flutter tool, and Gradle Kotlin DSL support is introduced.

- 🍏 iOS Improvements:

- Platform view performance on iOS is significantly improved, particularly within scroll views when using multiple platform views.

- Flutter's minimum supported Android version is now Lollipop (API 21), ending support for devices running Android KitKat (API 19).

- 🌐 Ecosystem Enhancements:

- Google Mobile Ads SDK for Flutter is updated to version 5.0.1, offering enhanced support for User Messaging Platform (UMP) SDK and expanded mediation partners.

- ⚠️ Breaking Changes and Deprecations:

- Deprecated APIs are removed, including ColorScheme.fromSeed and v1 Android embedding support, with a focus on migration guidance for plugin authors.

- 🙏 Community Appreciation:

- The Flutter community's contributions are acknowledged and celebrated, emphasizing their vital role in Flutter's success.


To view or add a comment, sign in

Others also viewed

Explore topics