TListCard constructor

const TListCard({
  1. Key? key,
  2. required String title,
  3. String? subTitle,
  4. String? imageUrl,
  5. dynamic icon,
  6. Widget? leading,
  7. bool isSelected = false,
  8. bool isExpanded = false,
  9. bool isDisabled = false,
  10. bool multiple = false,
  11. int level = 0,
  12. VoidCallback? onTap,
  13. TListCardTheme? theme,
  14. List<TListCard>? children,
  15. bool hasChildren = false,
})

Creates a list card.

Implementation

const TListCard({
  super.key,
  required this.title,
  this.subTitle,
  this.imageUrl,
  this.icon,
  this.leading,
  this.isSelected = false,
  this.isExpanded = false,
  this.isDisabled = false,
  this.multiple = false,
  this.level = 0,
  this.onTap,
  this.theme,
  this.children,
  this.hasChildren = false,
});