overflowedIndexes property
Implementation
Set<int> get overflowedIndexes {
final indexes = <int>{};
loopOverChildren((child, childIndex) {
if (child == overflowButton) return;
final childParentData = child.parentData as _BreadcrumbChild;
if (childParentData._overflow) {
if (textDirection == TextDirection.ltr) {
indexes.add(childIndex - 1);
} else {
indexes.add(childIndex);
}
}
});
return indexes;
}