TabSet.indexed constructor
Implementation
factory TabSet.indexed({int defaultIndex = 0, required List<TabState> tabs}) {
return TabSet(
defaultIndex: defaultIndex,
tabs: tabs.mapIndexed((item, index) => item.withIndex(index)).toList());
}