TitledBottomNavigationBar constructor

TitledBottomNavigationBar({
  1. Key? key,
  2. bool reverse = false,
  3. Curve curve = Curves.linear,
  4. required ValueChanged<int> onTap,
  5. required List<TitledNavigationBarItem> items,
  6. Color? activeColor,
  7. Color? inactiveColor,
  8. Color? inactiveStripColor,
  9. Color? indicatorColor,
  10. bool enableShadow = true,
  11. int currentIndex = 0,
  12. double height = DEFAULT_BAR_HEIGHT,
  13. double indicatorHeight = DEFAULT_INDICATOR_HEIGHT,
})

Implementation

TitledBottomNavigationBar({
  Key? key,
  this.reverse = false,
  this.curve = Curves.linear,
  required this.onTap,
  required this.items,
  this.activeColor,
  this.inactiveColor,
  this.inactiveStripColor,
  this.indicatorColor,
  this.enableShadow = true,
  this.currentIndex = 0,
  this.height = DEFAULT_BAR_HEIGHT,
  this.indicatorHeight = DEFAULT_INDICATOR_HEIGHT,
})  : assert(items.length >= 2 && items.length <= 5),
      super(key: key);