ClueSideBarComponent constructor
const
ClueSideBarComponent({})
Creates a ClueSideBarComponent.
title
is the title displayed at the top of the sidebar.
titleOnTap
is the callback function when the title is tapped.
logo
is the logo widget displayed below the title.
logoTitle
is the title displayed below the logo.
infoList
is the list of information items to display.
itemList
is the list of navigation items to display.
child
is the main content widget displayed next to the sidebar.
leftArrow
is the widget displayed when the sidebar is expanded.
rightArrow
is the widget displayed when the sidebar is collapsed.
Implementation
const ClueSideBarComponent({
super.key,
required this.title,
required this.titleOnTap,
required this.logo,
required this.logoTitle,
required this.infoList,
required this.itemList,
required this.child,
this.leftArrow,
this.rightArrow,
});