UiListTile constructor

const UiListTile({
  1. Key? key,
  2. required String title,
  3. Widget? leading,
  4. TextStyle? titleStyle,
  5. String? subtitle,
  6. TextStyle? subtitleStyle,
  7. Widget? trailing,
  8. VoidCallback? onTap,
  9. EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
  10. Color? backgroundColor,
  11. BorderRadius? borderRadius,
  12. bool enabled = true,
  13. bool dense = false,
})

Implementation

const UiListTile({
  super.key,
  required this.title,
  this.leading,
  this.titleStyle,
  this.subtitle,
  this.subtitleStyle,
  this.trailing,
  this.onTap,
  this.contentPadding = const EdgeInsets.symmetric(
    horizontal: 16,
    vertical: 12,
  ),
  this.backgroundColor,
  this.borderRadius,
  this.enabled = true,
  this.dense = false,
});