BottomIndicatorBar constructor
BottomIndicatorBar({
- Key? key,
- required ValueChanged<
int> onTap, - required List<
BottomIndicatorNavigationBarItem> items, - Color activeColor = Colors.teal,
- Color inactiveColor = Colors.grey,
- Color indicatorColor = Colors.grey,
- bool shadow = true,
- int currentIndex = 0,
Implementation
BottomIndicatorBar({
Key? key,
required this.onTap,
required this.items,
this.activeColor = Colors.teal,
this.inactiveColor = Colors.grey,
this.indicatorColor = Colors.grey,
this.shadow = true,
this.currentIndex = 0,
}) : super(key: key);