childAfter method

ChildType? childAfter(
  1. ChildType child
)

The next child after the given child in the child list.

Implementation

ChildType? childAfter(ChildType child) {
  assert(child.parent == this);
  final ParentDataType childParentData = child.parentData! as ParentDataType;
  return childParentData.nextSibling;
}