push method

void push(
  1. List<Widget> children
)

Implementation

void push(List<Widget> children) {
  assert(children.isNotEmpty, 'Only items with children can be nested');
  _depth.add(children);
  notifyListeners();
}