MyBottomNavigationBar constructor

const MyBottomNavigationBar({
  1. Key? key,
  2. required List<MyBottomNavigationBarItem>? itemList,
  3. Duration? animationDuration,
  4. Color? indicatorColor,
  5. double? indicatorSize,
  6. Decoration? indicatorDecoration,
  7. MyBottomNavigationBarType? myBottomNavigationBarType,
  8. bool showLabel = true,
  9. Color? activeContainerColor,
  10. Color? backgroundColor,
  11. bool? showActiveLabel,
  12. Axis? labelDirection = Axis.horizontal,
  13. double labelSpacing = 8,
  14. TextStyle? activeTitleStyle,
  15. TextStyle? titleStyle,
  16. int initialIndex = 0,
  17. Color? activeTitleColor,
  18. Color? titleColor,
  19. double? activeTitleSize,
  20. double? titleSize,
  21. Color? iconColor,
  22. Color? activeIconColor,
  23. double? iconSize,
  24. double? activeIconSize,
  25. Decoration? containerDecoration,
  26. BoxShape? containerShape,
  27. EdgeInsetsGeometry? outerPadding,
  28. EdgeInsetsGeometry? outerMargin,
  29. double? containerRadius,
  30. EdgeInsetsGeometry? containerPadding,
})

Implementation

const MyBottomNavigationBar(
    {super.key,
    required this.itemList,
    this.animationDuration,
    this.indicatorColor,
    this.indicatorSize,
    this.indicatorDecoration,
    this.myBottomNavigationBarType,
    this.showLabel = true,
    this.activeContainerColor,
    this.backgroundColor,
    this.showActiveLabel,
    this.labelDirection = Axis.horizontal,
    this.labelSpacing = 8,
    this.activeTitleStyle,
    this.titleStyle,
    this.initialIndex = 0,
    this.activeTitleColor,
    this.titleColor,
    this.activeTitleSize,
    this.titleSize,
    this.iconColor,
    this.activeIconColor,
    this.iconSize,
    this.activeIconSize,
    this.containerDecoration,
    this.containerShape,
    this.outerPadding,
    this.outerMargin,
    this.containerRadius,
    this.containerPadding});