ListTileButton constructor
const
ListTileButton({
- Key? key,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? contentPadding,
- Widget? leading,
- double leadingSizeFactor = 1.0,
- required Widget? body,
- Widget? subtitle,
- Widget? trailing,
- Color? backgroundColor,
- Color? borderColor,
- double borderRadius = 10,
- double? elevation,
- VisualDensity? visualDensity,
- ListTileTitleAlignment? bodyAlignment,
- double? minHeight,
Creates a ListTileButton with customizable content and styling.
Implementation
const ListTileButton({
super.key,
this.onPressed,
this.onLongPress,
this.margin,
this.padding,
this.contentPadding,
this.leading,
this.leadingSizeFactor = 1.0,
required this.body,
this.subtitle,
this.trailing,
this.backgroundColor,
this.borderColor,
this.borderRadius = 10,
this.elevation,
this.visualDensity,
this.bodyAlignment,
this.minHeight,
});