SundaySideBarItemGroup constructor
const
SundaySideBarItemGroup({
- Key? key,
- required List<
SundaySidebarItem> children, - required bool isCollapsed,
- required bool showAndHide,
- required String title,
- Color itemTextColor = Colors.black,
- Color darkItemTextColor = Colors.white,
- Color itemBackgroundColor = const Color(0xffDFDEE5),
- Color darkItemBackgroundColor = const Color(0xff39383D),
- Color selectedItemTextColor = Colors.black,
- Color darkSelectedItemTextColor = Colors.white,
- required Style style,
Creates a SideBarItemGroup
.
The children
and title
parameters must not be null.
The isCollapsed
and showAndHide
parameters default to false.
Implementation
const SundaySideBarItemGroup(
{super.key,
required this.children,
required this.isCollapsed,
required this.showAndHide,
required this.title,
this.itemTextColor = Colors.black,
this.darkItemTextColor = Colors.white,
this.itemBackgroundColor = const Color(0xffDFDEE5),
this.darkItemBackgroundColor = const Color(0xff39383D),
this.selectedItemTextColor = Colors.black,
this.darkSelectedItemTextColor = Colors.white,
required this.style});