detach method

  1. @override
void detach()
override

Clear the sibling pointers.

Implementation

@override
void detach() {
  assert(
    previousSibling == null,
    'Pointers to siblings must be nulled before detaching ParentData.',
  );
  assert(nextSibling == null, 'Pointers to siblings must be nulled before detaching ParentData.');
  super.detach();
}