AccordionItem constructor

AccordionItem({
  1. Key? key,
  2. String? id,
  3. String? title,
  4. Widget? child,
  5. dynamic onChange(
    1. bool,
    2. AccordionData?
    )?,
  6. bool? checked,
  7. int indexGroup = 0,
  8. dynamic onTap()?,
  9. Color? checkColor,
  10. Color? itemColor,
  11. TextStyle? itemTextStyle,
  12. AccrodionItemType accrodionItemType = AccrodionItemType.Label,
})

Implementation

AccordionItem(
    {Key? key,
    this.id,
    this.title,
    this.child,
    this.onChange,
    this.checked,
    this.indexGroup = 0,
    this.onTap,
    this.checkColor,
    this.itemColor,
    this.itemTextStyle,
    this.accrodionItemType = AccrodionItemType.Label})
    : assert(title != null || child != null),
      super(key: key);