SidebarItem constructor

const SidebarItem({
  1. required String label,
  2. required IconData icon,
  3. IconData? selectedIcon,
  4. String? badge,
  5. Widget? trailing,
  6. bool enabled = true,
})

Implementation

const SidebarItem({
  required this.label,
  required this.icon,
  this.selectedIcon,
  this.badge,
  this.trailing,
  this.enabled = true,
});