childCount property
int
get
childCount
Number of direct children currently attached to this node.
Includes children that are still animating out after a removal: during an exit animation the departing rows are still painted, and this count matches them. Use liveChildCount for the settled count.
Implementation
int get childCount {
return controller.getChildCount(key);
}