TListCard constructor
const
TListCard({
- Key? key,
- required String title,
- String? subTitle,
- String? imageUrl,
- dynamic icon,
- Widget? leading,
- bool isSelected = false,
- bool isExpanded = false,
- bool isDisabled = false,
- bool multiple = false,
- int level = 0,
- VoidCallback? onTap,
- TListCardTheme? theme,
- List<
TListCard> ? children, - 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,
});