ListTileX constructor

const ListTileX({
  1. Key? key,
  2. String? icon,
  3. String? title,
  4. Color? titleColor,
  5. FontWeight? titleWeight,
  6. Widget? titleWidget,
  7. String? subTitle,
  8. Widget? trailing,
  9. dynamic onTap()?,
  10. dynamic onLongPress()?,
  11. bool showTrailing = true,
  12. Color? backgroundColor,
})

Implementation

const ListTileX({
  super.key,
  this.icon,
  this.title,
  this.titleColor,
  this.titleWeight,
  this.titleWidget,
  this.subTitle,
  this.trailing,
  this.onTap,
  this.onLongPress,
  this.showTrailing = true,
  this.backgroundColor,
});