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. bool enableAnimation = true,
  13. 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.enableAnimation = true,
  this.showOverlay = false,
});