CustomLineIndicatorBottomNavbar constructor

CustomLineIndicatorBottomNavbar({
  1. Color? backgroundColor,
  2. Color? selectedColor,
  3. required List<CustomBottomBarItems> customBottomBarItems,
  4. Color? unSelectedColor,
  5. double unselectedFontSize = 11,
  6. double selectedFontSize = 12,
  7. double selectedIconSize = 20,
  8. double unselectedIconSize = 15,
  9. Color? splashColor,
  10. int currentIndex = 0,
  11. required dynamic onTap(
    1. int
    ),
  12. bool enableLineIndicator = true,
  13. double lineIndicatorWidth = 3,
  14. IndicatorType indicatorType = IndicatorType.Top,
  15. LinearGradient? gradient,
})

Implementation

CustomLineIndicatorBottomNavbar({
  this.backgroundColor,
  this.selectedColor,
  required this.customBottomBarItems,
  this.unSelectedColor,
  this.unselectedFontSize = 11,
  this.selectedFontSize = 12,
  this.selectedIconSize = 20,
  this.unselectedIconSize = 15,
  this.splashColor,
  this.currentIndex = 0,
  required this.onTap,
  this.enableLineIndicator = true,
  this.lineIndicatorWidth = 3,
  this.indicatorType = IndicatorType.Top,
  this.gradient,
});