DDSBottomNavBar constructor

const DDSBottomNavBar({
  1. Key? key,
  2. required BottomNavBarType type,
  3. required int currentIndex,
  4. required ValueChanged<int> onTap,
  5. required List<DDSBottomNavItemConfig> items,
  6. Color? selectedItemColor,
  7. Color? unselectedItemColor,
  8. Color? shiftableLineColor,
  9. Color? backgroundColor,
  10. BorderRadius? borderRadius,
  11. double? height = 56.0,
  12. List<ActionButtonConfig>? fabActions,
  13. double defaultItemWidth = 56.0,
  14. Color? shadowColor,
})

Implementation

const DDSBottomNavBar({
  Key? key,
  required this.type,
  required this.currentIndex,
  required this.onTap,
  required this.items,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.shiftableLineColor,
  this.backgroundColor,
  this.borderRadius,
  this.height = 56.0,
  this.fabActions,
  this.defaultItemWidth = 56.0,
  this.shadowColor,
}) : super(key: key);