BottomIndicatorBar constructor

BottomIndicatorBar({
  1. Key? key,
  2. required ValueChanged<int> onTap,
  3. required List<BottomIndicatorNavigationBarItem> items,
  4. Color activeColor = Colors.teal,
  5. Color inactiveColor = Colors.grey,
  6. Color indicatorColor = Colors.grey,
  7. bool shadow = true,
  8. 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);