CollapseItem constructor

CollapseItem({
  1. Key? key,
  2. String? title,
  3. String? name,
  4. IconData? icon,
  5. String? value,
  6. String? label,
  7. Icon? rightIcon,
  8. bool clickable = true,
  9. bool isExpanded = false,
  10. Widget? customTitle,
  11. Widget? customLabel,
  12. String? content,
  13. Widget? child,
  14. dynamic onExpansionChanged(
    1. bool val
    )?,
})

Implementation

CollapseItem({
  Key? key,
  this.title,
  this.name,
  this.icon,
  this.value,
  this.label,
  this.rightIcon,
  this.clickable: true,
  this.isExpanded: false,
  this.customTitle,
  this.customLabel,
  this.content,
  this.child,
  this.onExpansionChanged,
}) : super(key: key);