WxListTile constructor
const
WxListTile({
- Key? key,
- required Widget title,
- Widget? subtitle,
- Widget? leading,
- Widget? trailing,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- double? spacing,
- bool? adaptiveSpacing,
- WxTileAlign? align,
- WxTileJustify? justify,
- bool? inline,
- bool? textWrap,
- TextAlign? textAlign,
- double? textSpacing,
- Color? textColor,
- TextOverflow? textOverflow,
- bool? textSoftWrap,
- TextWidthBasis? textWidthBasis,
- Color? iconColor,
- double? iconOpacity,
- double? iconSize,
- double? titleSize,
- double? subtitleSize,
- Color? titleColor,
- Color? subtitleColor,
- int? titleMaxLines,
- int? subtitleMaxLines,
- FontWeight? titleWeight,
- FontWeight? subtitleWeight,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- TextStyle? secondaryStyle,
- WxListTileStyle? style,
- GestureTapCallback? onTap,
Create a list item tile
Implementation
const WxListTile({
super.key,
required this.title,
this.subtitle,
this.leading,
this.trailing,
this.margin,
this.padding,
this.spacing,
this.adaptiveSpacing,
this.align,
this.justify,
this.inline,
this.textWrap,
this.textAlign,
this.textSpacing,
this.textColor,
this.textOverflow,
this.textSoftWrap,
this.textWidthBasis,
this.iconColor,
this.iconOpacity,
this.iconSize,
this.titleSize,
this.subtitleSize,
this.titleColor,
this.subtitleColor,
this.titleMaxLines,
this.subtitleMaxLines,
this.titleWeight,
this.subtitleWeight,
this.titleStyle,
this.subtitleStyle,
this.secondaryStyle,
this.style,
this.onTap,
});