indexOf method
Gets the index of a child by looking at its parentData.
Implementation
int? indexOf(RenderBox child) {
final CircleListParentData childParentData =
child.parentData as CircleListParentData;
assert(childParentData.index != null);
return childParentData.index;
}