SideBarLayout constructor
const
SideBarLayout({
- Key? key,
- required String title,
- required List<
SundaySideBarItemGroup> children, - Color? backgroundColor,
- Color titleColor = Colors.black,
- Color itemTextColor = Colors.black,
- Color darkTitleColor = Colors.white,
- Color darkItemTextColor = Colors.white,
- Color itemBackgroundColor = const Color(0xffDFDEE5),
- Color darkItemBackgroundColor = const Color(0xff39383D),
- required String keyCollapsed,
- bool initialIsCollapsed = false,
- Color selectedItemTextColor = Colors.black,
- Color darkSelectedItemTextColor = Colors.white,
- required Style style,
Constructor for SideBarLayout, requiring a title and children.
Implementation
const SideBarLayout(
{super.key,
required this.title,
required this.children,
this.backgroundColor,
this.titleColor = Colors.black,
this.itemTextColor = Colors.black,
this.darkTitleColor = Colors.white,
this.darkItemTextColor = Colors.white,
this.itemBackgroundColor = const Color(0xffDFDEE5),
this.darkItemBackgroundColor = const Color(0xff39383D),
required this.keyCollapsed,
this.initialIsCollapsed = false,
this.selectedItemTextColor = Colors.black,
this.darkSelectedItemTextColor = Colors.white,
required this.style});