indexOf method
- RenderBox child
override
Copied from RenderSliverMultiBoxAdaptor.indexOf. An assertion was removed to accept the dummy child element.
Implementation
@override
int indexOf(final RenderBox child) {
assert(child != null);
final childParentData = child.parentData as SliverMultiBoxAdaptorParentData;
//""""""""""""""""""""""""""""""""""""""""""""""""""""""
// assert(childParentData.index != null);
//""""""""""""""""""""""""""""""""""""""""""""""""""""""
return childParentData.index;
}