UiListTile constructor
const
UiListTile({
- Key? key,
- required String title,
- Widget? leading,
- TextStyle? titleStyle,
- String? subtitle,
- TextStyle? subtitleStyle,
- Widget? trailing,
- VoidCallback? onTap,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
- Color? backgroundColor,
- BorderRadius? borderRadius,
- bool enabled = true,
- 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,
});