BottomBarItem constructor

const BottomBarItem({
  1. Key? key,
  2. required Widget icon,
  3. Widget? inactiveIcon,
  4. Widget? title,
  5. required Color activeColor,
  6. num backgroundColorOpacity = 0.15,
  7. Color? inactiveColor,
  8. Color? activeIconColor,
  9. Color? activeTitleColor,
})

This contains information about the item that BottomBar has to display

Implementation

const BottomBarItem({
  this.key,
  required this.icon,
  this.inactiveIcon,
  this.title,
  required this.activeColor,
  this.backgroundColorOpacity = 0.15,
  this.inactiveColor,
  this.activeIconColor,
  this.activeTitleColor,
});