CustomSidebar constructor

const CustomSidebar({
  1. Key? key,
  2. required List<SidebarItem> items,
  3. required int selectedIndex,
  4. required ValueChanged<int> onItemSelected,
})

Implementation

const CustomSidebar({
  super.key,
  required this.items,
  required this.selectedIndex,
  required this.onItemSelected,
});