didFinishLayout method
Copied from SliverMultiBoxAdaptorElement.didFinishLayout.
Implementation
// TODO: to be changed; firstChild and lastChild should be used and item index conversion applied.
@override
void didFinishLayout(_PopUpList? popUpList) {
assert(debugAssertChildListLocked());
if (popUpList == null) {
final firstIndex = _mainChildElements.firstKey() ?? 0;
final lastIndex = _mainChildElements.lastKey() ?? 0;
widget.delegate.didFinishLayout(firstIndex, lastIndex);
}
}