Merged threads on macOS and Windows
Summary
#Flutter 3.35 merges the UI and platform threads by default on macOS and Windows.
Context
#Originally, Flutter had separate threads to produce UI frames and to interact with the native platform.
The split-thread design prevented Flutter apps and plugins from using Dart FFI to interoperate with native APIs that must be called on the platform thread.
Description of change
#Flutter 3.35 merges the UI and platform threads by default on macOS and Windows.
This mirrors iOS and Android, whose threads were merged by default in Flutter 3.29.
Migration guide
#Merged threads should not affect your app.
If you suspect merged threads has regressed your app, please reach out on Issue 150525.
Timeline
#Landed in version: 3.33.0-0.0.pre
In stable release: 3.35
References
#Relevant issue:
Relevant PRs:
除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2025-09-18。 查看文档源码 或者 为本页面内容提出建议.