BarItem constructor

const BarItem({
  1. Key? key,
  2. Widget? widget,
  3. IconData? iconData,
  4. required String title,
  5. required bool selected,
  6. required Color activeColor,
  7. required Color deActiveColor,
  8. required double iconSize,
  9. required TextStyle textStyle,
})

Implementation

const BarItem({
  Key? key,
  this.widget,
  this.iconData,
  required this.title,
  required this.selected,
  required this.activeColor,
  required this.deActiveColor,
  required this.iconSize,
  required this.textStyle,
}) : super(key: key);