SidebarItem constructor

const SidebarItem({
  1. required String label,
  2. Component? icon,
  3. void onTap()?,
  4. bool selected = false,
  5. bool disabled = false,
  6. String? badge,
  7. bool collapsed = false,
  8. Key? key,
})

Implementation

const SidebarItem({
  required this.label,
  this.icon,
  this.onTap,
  this.selected = false,
  this.disabled = false,
  this.badge,
  this.collapsed = false,
  super.key,
});