removeTabs method
void
removeTabs()
Removes all tabs.
Implementation
void removeTabs() {
for (TabData tab in _tabs) {
tab.removeListener(notifyListeners);
}
_updateIndexes(true);
_tabs.clear();
_selectedIndex = null;
notifyListeners();
}