XList constructor

const XList({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. Widget? top,
  7. Widget? bottom,
  8. String? titleText,
  9. String? subtitleText,
  10. TextStyle? titleStyle,
  11. TextStyle? subtitleStyle,
  12. void onTap()?,
  13. void subtitleOnTap()?,
  14. void trailonTap()?,
  15. double? leadingGap,
  16. double? upGap,
  17. double? leadingAndTitleGap,
  18. double? titleAndSubtitleGap,
  19. double? bottomGap,
  20. Color? color,
  21. bool? expanded = true,
  22. EdgeInsetsGeometry? margin,
  23. Size? size,
  24. bool? centerTitle = false,
  25. double? leadingWidth,
  26. EdgeInsetsGeometry? padding,
  27. void leadingOnTap()?,
  28. void titleOnTap()?,
})

Implementation

const XList({
  super.key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.top,
  this.bottom,
  this.titleText,
  this.subtitleText,
  this.titleStyle,
  this.subtitleStyle,
  this.onTap,
  this.subtitleOnTap,
  this.trailonTap,
  this.leadingGap,
  this.upGap,
  this.leadingAndTitleGap,
  this.titleAndSubtitleGap,
  this.bottomGap,
  this.color,
  this.expanded = true,
  this.margin,
  this.size,
  this.centerTitle = false,
  this.leadingWidth,
  this.padding,
  this.leadingOnTap,
  this.titleOnTap,
});