FAccordionItem constructor

FAccordionItem({
  1. required Widget title,
  2. required Widget child,
  3. FAccordionStyle? style,
  4. bool initiallyExpanded = false,
  5. bool autofocus = false,
  6. FocusNode? focusNode,
  7. ValueChanged<bool>? onFocusChange,
  8. Key? key,
})

Creates an FAccordionItem.

Implementation

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