CollapsibleItem constructor

CollapsibleItem({
  1. required String text,
  2. int? badgeCount,
  3. IconData? icon,
  4. ImageProvider<Object>? iconImage,
  5. required Function onPressed,
  6. Function? onHold,
  7. bool isSelected = false,
  8. List<CollapsibleItem>? subItems,
})

Implementation

CollapsibleItem({
  required this.text,
  this.badgeCount,
  this.icon,
  this.iconImage,
  required this.onPressed,
  this.onHold,
  this.isSelected = false,
  this.subItems,
});