BarItem constructor

BarItem({
  1. required Widget icon,
  2. required String label,
  3. bool showNotificationDot = false,
})

Creates a BarItem with the given icon and label.

Implementation

BarItem({
  required this.icon,
  required this.label,
  this.showNotificationDot = false,
});