NavigationTabBar constructor

NavigationTabBar({
  1. Key? key,
  2. double tabHeight = 56,
  3. double tabBorderRadius = 5,
  4. Color backgroundColor = Colors.white,
  5. Color tabIndicatorColor = Colors.grey,
  6. double tabIndicatorHeight = 2,
  7. int tabIndex = 0,
  8. required List<TabItem> tabs,
  9. double fontSize = 10,
  10. double iconSize = 24,
  11. Color tabSelectedColor = Colors.black,
  12. Color tabUnSelectedColor = Colors.grey,
  13. NavigationTabBarStyle tabBarStyle = NavigationTabBarStyle.icon,
  14. AnimationType animationType = AnimationType.none,
  15. required dynamic onTap(
    1. int index
    ),
  16. TabIndicatorStyle tabIndicatorStyle = TabIndicatorStyle.none,
})

Implementation

NavigationTabBar(
    {Key? key,
    this.tabHeight = 56,
    this.tabBorderRadius = 5,
    this.backgroundColor = Colors.white,
    this.tabIndicatorColor = Colors.grey,
    this.tabIndicatorHeight = 2,
    this.tabIndex = 0,
    required this.tabs,
    this.fontSize = 10,
    this.iconSize = 24,
    this.tabSelectedColor = Colors.black,
    this.tabUnSelectedColor = Colors.grey,
    this.tabBarStyle = NavigationTabBarStyle.icon,
    this.animationType = AnimationType.none,
    required this.onTap,
    this.tabIndicatorStyle = TabIndicatorStyle.none})
    : super();