SidebarWidget constructor

const SidebarWidget({
  1. Key? key,
  2. required NavigationItem item,
  3. required int index,
  4. required bool itemExpanded,
  5. required bool isSelected,
  6. required VoidCallback itemOnTap,
  7. required dynamic onSubItemTap(
    1. int
    ),
  8. int? selectedSubIndex,
  9. Color? selectedColor,
  10. Color? iconBagroundColor,
  11. Color? iconColor,
  12. Color? textColor,
})

Implementation

const SidebarWidget({
  super.key,
  required this.item,
  required this.index,
  required this.itemExpanded,
  required this.isSelected,
  required this.itemOnTap,
  required this.onSubItemTap,
  this.selectedSubIndex,
  this.selectedColor,
  this.iconBagroundColor,
  this.iconColor,
  this.textColor,
});