opaque function
Implementation
bool opaque(List<StxBottomNavBarItem> items, int? selectedIndex) {
for (int i = 0; i < items.length; ++i) {
if (items[i].opacity < 1.0 && i == selectedIndex) {
return false;
}
}
return true;
}
bool opaque(List<StxBottomNavBarItem> items, int? selectedIndex) {
for (int i = 0; i < items.length; ++i) {
if (items[i].opacity < 1.0 && i == selectedIndex) {
return false;
}
}
return true;
}