SundaySideBarItemGroup constructor

const SundaySideBarItemGroup({
  1. Key? key,
  2. required List<SundaySidebarItem> children,
  3. required bool isCollapsed,
  4. required bool showAndHide,
  5. required String title,
  6. Color itemTextColor = Colors.black,
  7. Color darkItemTextColor = Colors.white,
  8. Color itemBackgroundColor = const Color(0xffDFDEE5),
  9. Color darkItemBackgroundColor = const Color(0xff39383D),
  10. Color selectedItemTextColor = Colors.black,
  11. Color darkSelectedItemTextColor = Colors.white,
  12. 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});