remove the no longer used children parameter (flutter/engine#5333)

This commit is contained in:
Yegor
2018-05-22 12:44:42 -07:00
committed by GitHub
parent 84d3622321
commit 1a56aa9357

View File

@@ -496,13 +496,9 @@ class SemanticsUpdateBuilder extends NativeFieldWrapperClass2 {
String decreasedValue,
TextDirection textDirection,
Float64List transform,
// TODO(yjbanov): remove after moving the framework to the new param names.
Int32List children,
Int32List childrenInTraversalOrder,
Int32List childrenInHitTestOrder,
}) {
childrenInTraversalOrder ??= children;
childrenInHitTestOrder ??= children;
if (transform.length != 16)
throw new ArgumentError('transform argument must have 16 entries.');
_updateNode(