CustomSidebar constructor
const
CustomSidebar({
- Key? key,
- required List<
SidebarItem> items, - required int selectedIndex,
- required ValueChanged<
int> onItemSelected,
Implementation
const CustomSidebar({
super.key,
required this.items,
required this.selectedIndex,
required this.onItemSelected,
});