-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
Overlay surfaces are indexed by the id returned from createOverlaySurface(). When onDisplayOverlaySurface() is called, the overlay surface must be sized and position accordingly.
Their Z position is based on the onDisplayOverlaySurface() call order. For example, consider:
1. onBeginFrame()
2. onDisplayPlatformView(/*id=*/ 0, x, y, width, height) // back view.
3. onDisplayOverlaySurface(/*id=*/ 2, x, y, width, height)
4. onDisplayPlatformView(/*id=*/ 1, x, y, width, height)
5. onDisplayOverlaySurface(/*id=*/ 0, x, y, width, height)
6 onDisplayOverlaySurface(/*id=*/ 1, x, y, width, height) // front view
7. onEndFrame()
Metadata
Metadata
Assignees
Labels
a: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.