ModulaListTile constructor
const
ModulaListTile({
- required Widget title,
- Key? key,
- Widget? subtitle,
- Widget? leading,
- Widget? trailing,
- ModulaListTileType type = ModulaListTileType.simple,
- bool showDivider = false,
- bool isThreeLine = false,
- bool dense = false,
- bool enabled = true,
- bool selected = false,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- EdgeInsetsGeometry? contentPadding,
- Color? backgroundColor,
- Color? selectedColor,
- Color? hoverColor,
- BorderRadius? borderRadius,
Implementation
const ModulaListTile({
required this.title,
super.key,
this.subtitle,
this.leading,
this.trailing,
this.type = ModulaListTileType.simple,
this.showDivider = false,
this.isThreeLine = false,
this.dense = false,
this.enabled = true,
this.selected = false,
this.onTap,
this.onLongPress,
this.contentPadding,
this.backgroundColor,
this.selectedColor,
this.hoverColor,
this.borderRadius,
});