NavigationTabBar constructor
NavigationTabBar({
- Key? key,
- double tabHeight = 56,
- double tabBorderRadius = 5,
- Color backgroundColor = Colors.white,
- Color tabIndicatorColor = Colors.grey,
- double tabIndicatorHeight = 2,
- int tabIndex = 0,
- required List<
TabItem> tabs, - double fontSize = 10,
- double iconSize = 24,
- Color tabSelectedColor = Colors.black,
- Color tabUnSelectedColor = Colors.grey,
- NavigationTabBarStyle tabBarStyle = NavigationTabBarStyle.icon,
- AnimationType animationType = AnimationType.none,
- required dynamic onTap(
- int index
- 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();