PrismAccordion constructor

const PrismAccordion({
  1. Key? key,
  2. required List<PrismAccordionSection> sections,
  3. bool singleExpansion = false,
  4. Set<int>? expandedIndices,
  5. void onExpansionChanged(
    1. Set<int> expanded
    )?,
  6. bool divider = true,
})

Creates an accordion.

Implementation

const PrismAccordion({
  super.key,
  required this.sections,
  this.singleExpansion = false,
  this.expandedIndices,
  this.onExpansionChanged,
  this.divider = true,
});