AccordionHeaderItem constructor

AccordionHeaderItem({
  1. bool? isOpen,
  2. Key? key,
  3. String? title,
  4. required List<AccordionItem> children,
  5. Widget? child,
  6. Color? headerColor,
  7. int index = 0,
  8. TextStyle? headerTextStyle,
  9. TextStyle? itemTextStyle,
  10. Color? itemColor,
})

Implementation

AccordionHeaderItem(
    {this.isOpen,
    Key? key,
    this.title,
    required this.children,
    this.child,
    this.headerColor,
    this.index = 0,
    this.headerTextStyle,
    this.itemTextStyle,
    this.itemColor})
    : assert(title != null || child != null),
      super(key: key);