This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,9 @@ struct PlatformView {
165165// / Each layer will result in a single physical surface that contains Flutter
166166// / contents. It may contain multiple platform views and the slices
167167// / that would be otherwise rendered between these platform views will be
168- // / collapsed into this layer, as long as it does not intersect any of the
168+ // / collapsed into this layer, as long as they do not intersect any of the
169169// / platform views.
170+ // / In Z order the Flutter contents of Layer is above the platform views.
170171class Layer {
171172 public:
172173 // / Returns whether the rectangle intersects any of the platform views of
@@ -259,9 +260,10 @@ class Layer {
259260
260261// / A layout builder is responsible for building an optimized list of Layers
261262// / from a list of `EmbedderExternalView`s. Single EmbedderExternalView contains
262- // / at most one platform view and at most one layer of Flutter contents.
263- // / LayerBuilder is responsible for producing as few Layers from the list of
264- // / EmbedderExternalViews as possible while maintaining identical visual result.
263+ // / at most one platform view and at most one layer of Flutter contents
264+ // / ('slice'). LayerBuilder is responsible for producing as few Layers from the
265+ // / list of EmbedderExternalViews as possible while maintaining identical visual
266+ // / result.
265267// /
266268// / Implements https://flutter.dev/go/optimized-platform-view-layers
267269class LayerBuilder {
You can’t perform that action at this time.
0 commit comments