FAccordionItem constructor
const
FAccordionItem({
- required Widget title,
- required Widget child,
- FAccordionStyle? style,
- Widget icon = const Icon(FIcons.chevronDown),
- bool initiallyExpanded = false,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
FWidgetStatesDelta> ? onStateChange, - 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,
});