liveChildCount property
int
get
liveChildCount
Number of direct children excluding those animating out.
Prefer childCount for a count rendered alongside the children themselves: during an exit animation the departing rows are still painted, and childCount matches them. Use this when the count should describe the settled state instead.
Implementation
int get liveChildCount {
return controller.liveChildCount(key);
}