Skip to content

Commit adc6685

Browse files
Add platformViewId to stub_ui (flutter#8253)
1 parent b68f7e7 commit adc6685

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/stub_ui/semantics.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,11 @@ class SemanticsUpdateBuilder {
590590
/// The fields 'textSelectionBase' and 'textSelectionExtent' describe the
591591
/// currently selected text within `value`.
592592
///
593+
/// The field `platformViewId` references the platform view, whose semantics
594+
/// nodes will be added as children to this node. If a platform view is
595+
/// specified, `childrenInHitTestOrder` and `childrenInTraversalOrder` must be
596+
/// empty.
597+
///
593598
/// For scrollable nodes `scrollPosition` describes the current scroll
594599
/// position in logical pixel. `scrollExtentMax` and `scrollExtentMin`
595600
/// describe the maximum and minimum in-rage values that `scrollPosition` can
@@ -618,6 +623,7 @@ class SemanticsUpdateBuilder {
618623
int actions,
619624
int textSelectionBase,
620625
int textSelectionExtent,
626+
int platformViewId,
621627
int scrollChildren,
622628
int scrollIndex,
623629
double scrollPosition,

0 commit comments

Comments
 (0)