CollapsibleItem constructor
CollapsibleItem({
- required String text,
- int? badgeCount,
- IconData? icon,
- ImageProvider<
Object> ? iconImage, - required Function onPressed,
- Function? onHold,
- bool isSelected = false,
- List<
CollapsibleItem> ? subItems,
Implementation
CollapsibleItem({
required this.text,
this.badgeCount,
this.icon,
this.iconImage,
required this.onPressed,
this.onHold,
this.isSelected = false,
this.subItems,
});