IconListTileButton constructor
const
IconListTileButton({
- Key? key,
- required IconData icon,
- required Widget title,
- Widget? subtitle,
- Widget? trailing,
- VoidCallback? onPressed,
- Color? backgroundColor,
- Color? borderColor,
- Color? iconColor,
- double leadingSizeFactor = 1.0,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? contentPadding,
- double? elevation,
Creates an IconListTileButton with an icon and customizable content.
Implementation
const IconListTileButton({
super.key,
required this.icon,
required this.title,
this.subtitle,
this.trailing,
this.onPressed,
this.backgroundColor,
this.borderColor,
this.iconColor,
this.leadingSizeFactor = 1.0,
this.margin,
this.padding,
this.contentPadding,
this.elevation,
});