insert method

  1. @override
void insert (RenderBox child, { RenderBox after })
override

Insert child into this render object's child list after the given child.

If after is null, then this inserts the child at the start of the list, and the child becomes the new firstChild.

Implementation

@override
void insert(RenderBox child, { RenderBox after }) {
  assert(!_keepAliveBucket.containsValue(child));
  super.insert(child, after: after);
  assert(firstChild != null);
  assert(_debugVerifyChildOrder());
}