hasChild method

bool hasChild (Object childId)

True if a non-null LayoutChild was provided for the specified id.

Call this from the performLayout or getSize methods to determine which children are available, if the child list might vary.

Implementation

bool hasChild(Object childId) => _idToChild[childId] != null;