TabWidgetItem constructor

const TabWidgetItem({
  1. Key? key,
  2. required TabItem item,
  3. required Function onTap,
  4. required NavigationTabBar tabBar,
  5. int currentIndex = 0,
  6. int tabIndex = 0,
})

Implementation

const TabWidgetItem(
    {Key? key,
    required this.item,
    required this.onTap,
    required this.tabBar,
    this.currentIndex = 0,
    this.tabIndex = 0})
    : super(key: key);