MephistoAccordion constructor
MephistoAccordion({ - Key? key,
- required bool isOpen,
- required String title,
- required List<Widget> items,
- String? description,
- double? height = 56,
- bool? isDefaultOpen = false,
- bool? defaultPadding = true,
- bool? defaultYPadding = false,
- Function? onItemClicked,
})
Implementation
MephistoAccordion(
{super.key,
required this.isOpen,
required this.title,
required this.items,
this.description,
this.height = 56,
this.isDefaultOpen = false,
this.defaultPadding = true,
this.defaultYPadding = false,
this.headerIcon,
this.onItemClicked});