children property

  1. @protected
Iterable<ChildType> children

Returns an Iterable of all non-null children.

This getter is used by the default implementation of attach, detach, redepthChildren, visitChildren, and debugDescribeChildren to iterate over the children of this RenderObject. The base implementation makes no guarantee about the order in which the children are returned. Subclasses for which the child order is important should override this getter and return the children in the desired order.

Implementation

@protected
Iterable<ChildType> get children => _slotToChild.values;