add method

void add(
  1. KeyType key,
  2. ChildType child
)

Append child to the end of this render object's child list.

Implementation

void add(KeyType key, ChildType child) {
  final data = _getOrCreateListOf(key);
  insert(key, child, after: data._lastChild);
}