IconListTileButton constructor

const IconListTileButton({
  1. Key? key,
  2. required IconData icon,
  3. required Widget title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. VoidCallback? onPressed,
  7. Color? backgroundColor,
  8. Color? borderColor,
  9. Color? iconColor,
  10. double leadingSizeFactor = 1.0,
  11. EdgeInsetsGeometry? margin,
  12. EdgeInsetsGeometry? padding,
  13. EdgeInsetsGeometry? contentPadding,
  14. 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,
});