This commit is contained in:
Dan Field
2019-05-04 14:08:23 -07:00
committed by GitHub
parent 712fc0f99e
commit d0825ed664

View File

@@ -656,7 +656,7 @@ class SemanticsUpdateBuilder extends NativeFieldWrapperClass2 {
}) {
assert(_matrix4IsValid(transform));
assert(
scrollChildren == 0 || (scrollChildren > 0 && childrenInHitTestOrder != null),
scrollChildren == 0 || scrollChildren == null || (scrollChildren > 0 && childrenInHitTestOrder != null),
'If a node has scrollChildren, it must have childrenInHitTestOrder',
);
_updateNode(