ZetaAccordionItem.selectable constructor

const ZetaAccordionItem.selectable({
  1. required String title,
  2. Widget? child,
  3. bool isExpanded = false,
  4. bool isSelected = false,
  5. VoidCallback? onTap,
  6. Widget? header,
  7. Key? key,
  8. bool? rounded,
  9. String expandSemanticLabel = 'Expand accordion',
  10. String collapseSemanticLabel = 'Collapse accordion',
})

Constructs a selectable ZetaAccordionItem.

Implementation

const ZetaAccordionItem.selectable({
  required this.title,
  this.child,
  this.isExpanded = false,
  this.isSelected = false,
  this.onTap,
  this.header,
  super.key,
  super.rounded,
  this.expandSemanticLabel = 'Expand accordion',
  this.collapseSemanticLabel = 'Collapse accordion',
})  : isNavigation = false,
      isSelectable = true;