FAccordionItem constructor

FAccordionItem({
  1. required Widget title,
  2. required Widget child,
  3. FAccordionStyle? style,
  4. bool initiallyExpanded = false,
  5. Key? key,
})

Creates an FAccordionItem.

Implementation

FAccordionItem({
  required this.title,
  required this.child,
  this.style,
  this.initiallyExpanded = false,
  super.key,
}) : icon = FIcon(FAssets.icons.chevronRight);