CustomListTile constructor

const CustomListTile({
  1. Key? key,
  2. required String title,
  3. required IconData icon,
  4. List<Widget>? children,
  5. bool? isSelected,
  6. bool? isExpanded = true,
  7. bool? itemExpanded,
  8. VoidCallback? onTap,
  9. Color? selectedColor,
  10. Color? iconBagroundColor,
  11. Color? hoverColor,
  12. Color? iconColor,
  13. Color? textColor,
  14. bool enableAnimation = true,
  15. bool showOverlay = false,
})

Implementation

const CustomListTile({
  super.key,
  required this.title,
  required this.icon,
  this.children,
  this.isSelected,
  this.isExpanded = true,
  this.itemExpanded,
  this.onTap,
  this.selectedColor,
  this.iconBagroundColor,
  this.hoverColor,
  this.iconColor,
  this.textColor,
  this.enableAnimation = true,
  this.showOverlay = false,
});