ListTile constructor

const ListTile({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. bool enabled = true,
  7. bool isThreeLine = false,
  8. Color? tileColor,
  9. Color? textColor,
  10. Color? iconColor,
  11. VoidCallback? onTap,
  12. VoidCallback? onLongPress,
})

Implementation

const ListTile({
  super.key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.enabled = true,
  this.isThreeLine = false,
  this.tileColor,
  this.textColor,
  this.iconColor,
  this.onTap,
  this.onLongPress,
});