mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This exposes platform_view_id on the embedder API's FlutterSemanticNode. In bd0f9085e5bdbac74cc6e611f758768f15ad5415 (#8055), platformViewId was added to SemanticsNode. This field is non-zero when the SemanticsNode represents a platform view and is typically used by embedders as a means of identifying locations where a platform view's 'native' accessibility tree should be injected into the platform-specific accessibility tree constructed by the embedder. Due to the intended use of this field, the Flutter framework is meant to enforce that this node has a child count of zero.