FAccordionItem constructor

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

Creates an FAccordionItem.

Implementation

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