FAccordionItem constructor

const FAccordionItem({
  1. required Widget title,
  2. required Widget child,
  3. FAccordionStyleDelta style = const .context(),
  4. Widget? icon,
  5. bool? initiallyExpanded,
  6. bool autofocus = false,
  7. FocusNode? focusNode,
  8. ValueChanged<bool>? onFocusChange,
  9. ValueChanged<bool>? onHoverChange,
  10. FTappableVariantChangeCallback? onVariantChange,
  11. Key? key,
})

Creates an FAccordionItem.

Implementation

const FAccordionItem({
  required this.title,
  required this.child,
  this.style = const .context(),
  this.icon,
  this.initiallyExpanded,
  this.autofocus = false,
  this.focusNode,
  this.onFocusChange,
  this.onHoverChange,
  this.onVariantChange,
  super.key,
});