insert method

  1. @override
void insert(
  1. RenderBox child, {
  2. 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}) {
  super.insert(child, after: after);
  _paintingOrder = null;
}