XList constructor
const
XList({
- Key? key,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- Widget? top,
- Widget? bottom,
- String? titleText,
- String? subtitleText,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- void onTap()?,
- void subtitleOnTap()?,
- void trailonTap()?,
- double? leadingGap,
- double? upGap,
- double? leadingAndTitleGap,
- double? titleAndSubtitleGap,
- double? bottomGap,
- Color? color,
- bool? expanded = true,
- EdgeInsetsGeometry? margin,
- Size? size,
- bool? centerTitle = false,
- double? leadingWidth,
- EdgeInsetsGeometry? padding,
- void leadingOnTap()?,
- 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,
});