WeCollapse constructor

WeCollapse({
  1. required List<WeCollapseItem> children,
  2. List<String>? defaultActive,
  3. int duration = 150,
  4. bool card = false,
  5. double clearance = 13.0,
  6. Widget buildTitle(
    1. bool open,
    2. int index,
    3. Widget child
    )?,
  7. Widget buildContent(
    1. bool open,
    2. int index,
    3. Widget child
    )?,
  8. dynamic onChange(
    1. List<String>
    )?,
  9. bool accordion = false,
})

Implementation

WeCollapse(
    {required this.children,
    this.defaultActive,
    this.duration = 150,
    this.card = false,
    this.clearance = 13.0,
    this.buildTitle,
    this.buildContent,
    this.onChange,
    this.accordion = false});